From: Christopher N. Hesse Date: Sat, 11 Nov 2017 12:19:58 +0000 (+0100) Subject: videocodec: Conditionally disable ROI control X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e431396b0af80c2a3307135994ac25f9120f411;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_exynos.git videocodec: Conditionally disable ROI control Change-Id: I9664030b057758c67cdfa92096fe5ed6ea317275 --- diff --git a/libvideocodec/enc/ExynosVideoEncoder.c b/libvideocodec/enc/ExynosVideoEncoder.c index 2a7174a..0bd0b67 100644 --- a/libvideocodec/enc/ExynosVideoEncoder.c +++ b/libvideocodec/enc/ExynosVideoEncoder.c @@ -41,6 +41,12 @@ #include +#ifdef USE_MFC_MEDIA +#ifndef V4L2_CID_MPEG_VIDEO_ROI_CONTROL +#undef USE_MFC_MEDIA +#endif +#endif + #include #ifdef USE_EXYNOS_MEDIA_EXT #include