From 9b9cba3798444f6a41a9b03f8cb8882cbbb2154b Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 12 Jul 2017 20:53:51 -0400 Subject: [PATCH] v4l2: Make gst_v4l2_get_capabilities static It's not used outside of v4l2_calls.c --- sys/v4l2/gstv4l2object.h | 2 -- sys/v4l2/v4l2_calls.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h index 54fb1be..a0c74b4 100644 --- a/sys/v4l2/gstv4l2object.h +++ b/sys/v4l2/gstv4l2object.h @@ -331,8 +331,6 @@ gboolean gst_v4l2_get_attribute (GstV4l2Object * v4l2object, int attribute gboolean gst_v4l2_set_attribute (GstV4l2Object * v4l2object, int attribute, const int value); gboolean gst_v4l2_set_controls (GstV4l2Object * v4l2object, GstStructure * controls); -gboolean gst_v4l2_get_capabilities (GstV4l2Object * v4l2object); - G_END_DECLS #endif /* __GST_V4L2_OBJECT_H__ */ diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 89517e9..4ee9d6e 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -56,7 +56,7 @@ GST_DEBUG_CATEGORY_EXTERN (v4l2_debug); * get the device's capturing capabilities * return value: TRUE on success, FALSE on error ******************************************************/ -gboolean +static gboolean gst_v4l2_get_capabilities (GstV4l2Object * v4l2object) { GstElement *e; -- 2.7.4