mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
matroskademux: Set interlaced flag in the caps if the flag is set in the Matroska file
This commit is contained in:
parent
db6a3e55c6
commit
1e1cf5df70
1 changed files with 3 additions and 0 deletions
|
@ -6485,6 +6485,9 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||
gst_structure_set (structure, "framerate", GST_TYPE_FRACTION,
|
||||
25, 1, NULL);
|
||||
}
|
||||
|
||||
if (videocontext->parent.flags & GST_MATROSKA_VIDEOTRACK_INTERLACED)
|
||||
gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||
}
|
||||
|
||||
gst_caps_do_simplify (caps);
|
||||
|
|
Loading…
Reference in a new issue