v4l2: Make gst_v4l2_get_capabilities static

It's not used outside of v4l2_calls.c
This commit is contained in:
Nicolas Dufresne 2017-07-12 20:53:51 -04:00
parent bec03858fa
commit 9b9cba3798
2 changed files with 1 additions and 3 deletions

View file

@ -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__ */

View file

@ -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;