mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
v4l2object: Expose convertion from v4l2 fourcc to GstVideoFormat
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7540>
This commit is contained in:
parent
87398e1f8b
commit
b7d4e576ea
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue