[Bug 740130] matroskamux: wrong duration on some files

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 18 07:48:23 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740130
  GStreamer | gst-plugins-good | 1.4.4

--- Comment #4 from Nicola <lists at svrinformatica.it> 2014-11-18 15:48:21 UTC ---
I did some more analysis, the problem is generated here:

http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/matroska/matroska-demux.c#n5079

so the demuxer hardcode 25 fps:

/* sort of a hack to get most codecs to support,
 * even if the default_duration is missing */

this cause problem if the stream has more than 25 fps and no duration is
setted.

Using something like this

gst_structure_set (structure, "framerate", GST_TYPE_FRACTION, 0, 1, NULL);

seems better and it works for my use case, what do you think about?  

thanks

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list