From 2e431396b0af80c2a3307135994ac25f9120f411 Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Sat, 11 Nov 2017 13:19:58 +0100 Subject: [PATCH] videocodec: Conditionally disable ROI control Change-Id: I9664030b057758c67cdfa92096fe5ed6ea317275 --- libvideocodec/enc/ExynosVideoEncoder.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1