From c466ff474859cce91e9dd9b906c48f5fe0c4b164 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Tue, 18 Nov 2014 16:52:40 +0100 Subject: [PATCH] matroskademux: set framerate 0/1 when duration is not known https://bugzilla.gnome.org/show_bug.cgi?id=740130 --- gst/matroska/matroska-demux.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 615d742..03d5286 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -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) -- 2.7.4