[gstreamer-bugs] [Bug 599301] [matroskademux] Doesn't populate video bitrate field

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 6 05:46:36 PST 2009


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

--- Comment #5 from Sebastian Dröge <slomo at circular-chaos.org> 2009-11-06 13:46:30 UTC ---
For that it might be a good idea to create some kind of bitrate counter:
bitrate = gst_bitrate_counter (counter, buffer)

this would only return bitrate!=-1 if it changed a lot (a lot being
configurable at initialization) and take the buffer metadata to update its
state.

Right, I'm aware of the fact that this is a very simple thing but it would
prevent to copy the same 10 lines of code into every demuxer ;)

What do you think, Jan?

-- 
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