videocodec: Conditionally disable ROI control
authorChristopher N. Hesse <raymanfx@gmail.com>
Sat, 11 Nov 2017 12:19:58 +0000 (13:19 +0100)
committerJan Altensen <info@stricted.net>
Sun, 5 Apr 2020 01:02:42 +0000 (03:02 +0200)
Change-Id: I9664030b057758c67cdfa92096fe5ed6ea317275

libvideocodec/enc/ExynosVideoEncoder.c

index 2a7174ae36387423dc567c029968b401db51c077..0bd0b6767f002b5de8ce6ec1c4fa4760dfe0e595 100644 (file)
 
 #include <sys/poll.h>
 
+#ifdef USE_MFC_MEDIA
+#ifndef V4L2_CID_MPEG_VIDEO_ROI_CONTROL
+#undef USE_MFC_MEDIA
+#endif
+#endif
+
 #include <linux/videodev2_exynos_media.h>
 #ifdef USE_EXYNOS_MEDIA_EXT
 #include <linux/videodev2_exynos_media_ext.h>