diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c index 36a396cd94..502fdf4d91 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c @@ -1347,7 +1347,7 @@ gst_v4l2_object_get_format_list (GstV4l2Object * v4l2object) return v4l2object->formats; } -static GstVideoFormat +GstVideoFormat gst_v4l2_object_v4l2fourcc_to_video_format (guint32 fourcc) { GstVideoFormat format; diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h index 4716a05c6e..1485fbe91f 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.h @@ -324,6 +324,8 @@ GstBufferPool * gst_v4l2_object_get_buffer_pool (GstV4l2Object * v4l2object); GstStructure * gst_v4l2_object_v4l2fourcc_to_structure (guint32 fourcc); +GstVideoFormat gst_v4l2_object_v4l2fourcc_to_video_format (guint32 fourcc); + GstFlowReturn gst_v4l2_object_poll (GstV4l2Object * v4l2object, GstClockTime timeout); gboolean gst_v4l2_object_subscribe_event (GstV4l2Object * v4l2object, guint32 event);