mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-14 18:25:22 +00:00
video-info: add "field-order" field to serialised caps also for interlace-mode=fields
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8219>
This commit is contained in:
parent
a62e517f6d
commit
3dcc6f4807
1 changed files with 1 additions and 0 deletions
|
@ -690,6 +690,7 @@ gst_video_info_to_caps (const GstVideoInfo * info)
|
|||
gst_video_interlace_mode_to_string (info->interlace_mode), NULL);
|
||||
|
||||
if ((info->interlace_mode == GST_VIDEO_INTERLACE_MODE_INTERLEAVED ||
|
||||
info->interlace_mode == GST_VIDEO_INTERLACE_MODE_FIELDS ||
|
||||
info->interlace_mode == GST_VIDEO_INTERLACE_MODE_ALTERNATE) &&
|
||||
GST_VIDEO_INFO_FIELD_ORDER (info) != GST_VIDEO_FIELD_ORDER_UNKNOWN) {
|
||||
gst_caps_set_simple_static_str (caps, "field-order", G_TYPE_STRING,
|
||||
|
|
Loading…
Reference in a new issue