[Bug 666583] matroskademux: too many bus messages in streamable mode
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Jan 28 02:25:21 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=666583
GStreamer | gst-plugins-good | git
--- Comment #3 from Nicola <lists at svrinformatica.it> 2012-01-28 10:25:14 UTC ---
Created an attachment (id=206314)
View: https://bugzilla.gnome.org/attachment.cgi?id=206314
Review: https://bugzilla.gnome.org/review?bug=666583&attachment=206314
Patch for the demuxer
This patch avoid to post a new messages such this:
GstMessageDuration, format=(GstFormat)GST_FORMAT_TIME, duration=(gint64)-1
for every frame, the message is posted only the first time.
I don't know if we can have invalid duration, and then valid duration in the
same file, seems demux->invalid_duration is not set to FALSE when a valid
duration is found, maybe we can add this too (after line 1955 add a line
demux->invalid_duration = FALSE;).Based on the files I have this case doesn't
happen.
If you like this solution I can do something similar for the parser too and
then look at the newsegment question in the muxer,
Nicola
--
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