summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-12-17 15:36:39 +0100
committerJavier Jardón <jjardon@gnome.org>2016-06-30 22:39:18 +0100
commit43185275636cf1b52cc12b52fe6dbbc6886f6347 (patch)
treecb941d6de5b54ba678a2e503948c1887e3d27868
parent5af6f5bfb6c3619a9ccc3b1681579aeb90e8b89a (diff)
downloadgstreamer-plugins-good-43185275636cf1b52cc12b52fe6dbbc6886f6347.tar.gz
remove V4L2_CID_HCENTER/V4L2_CID_VCENTER usagebaserock/0.10+v4l_fix
They have been deprecated for a long time and since v3.9 building fails with: v4l2_calls.c:58:26: error: 'V4L2_CID_HCENTER_DEPRECATED' undeclared (first use in this function) #define V4L2_CID_HCENTER V4L2_CID_HCENTER_DEPRECATED ^ v4l2_calls.c:297:12: note: in expansion of macro 'V4L2_CID_HCENTER' case V4L2_CID_HCENTER: ^ v4l2_calls.c:58:26: note: each undeclared identifier is reported only once for each function it appears in #define V4L2_CID_HCENTER V4L2_CID_HCENTER_DEPRECATED ^ v4l2_calls.c:297:12: note: in expansion of macro 'V4L2_CID_HCENTER' case V4L2_CID_HCENTER: ^ v4l2_calls.c:61:26: error: 'V4L2_CID_VCENTER_DEPRECATED' undeclared (first use in this function) #define V4L2_CID_VCENTER V4L2_CID_VCENTER_DEPRECATED ^ v4l2_calls.c:298:12: note: in expansion of macro 'V4L2_CID_VCENTER' case V4L2_CID_VCENTER: ^ make[4]: *** [libgstvideo4linux2_la-v4l2_calls.lo] Error 1 Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--sys/v4l2/v4l2_calls.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
index e0eefb0aa..49b77416b 100644
--- a/sys/v4l2/v4l2_calls.c
+++ b/sys/v4l2/v4l2_calls.c
@@ -53,14 +53,6 @@
#include "gst/gst-i18n-plugin.h"
-/* Those are ioctl calls */
-#ifndef V4L2_CID_HCENTER
-#define V4L2_CID_HCENTER V4L2_CID_HCENTER_DEPRECATED
-#endif
-#ifndef V4L2_CID_VCENTER
-#define V4L2_CID_VCENTER V4L2_CID_VCENTER_DEPRECATED
-#endif
-
GST_DEBUG_CATEGORY_EXTERN (v4l2_debug);
#define GST_CAT_DEFAULT v4l2_debug
@@ -294,8 +286,6 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
break;
case V4L2_CID_HFLIP:
case V4L2_CID_VFLIP:
- case V4L2_CID_HCENTER:
- case V4L2_CID_VCENTER:
#ifdef V4L2_CID_PAN_RESET
case V4L2_CID_PAN_RESET:
#endif