mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
matroskademux: set framerate 0/1 when duration is not known
https://bugzilla.gnome.org/show_bug.cgi?id=740130
This commit is contained in:
parent
f4ca3c255a
commit
c466ff4748
1 changed files with 1 additions and 3 deletions
|
@ -5076,10 +5076,8 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||
gst_structure_set (structure, "framerate", GST_TYPE_FRACTION,
|
||||
fps_n, fps_d, NULL);
|
||||
} else {
|
||||
/* sort of a hack to get most codecs to support,
|
||||
* even if the default_duration is missing */
|
||||
gst_structure_set (structure, "framerate", GST_TYPE_FRACTION,
|
||||
25, 1, NULL);
|
||||
0, 1, NULL);
|
||||
}
|
||||
|
||||
if (videocontext->parent.flags & GST_MATROSKA_VIDEOTRACK_INTERLACED)
|
||||
|
|
Loading…
Reference in a new issue