[Bug 746017] audiodecoder: Take into account subclass PTS if provided

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 21 23:15:41 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=746017

--- Comment #10 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Because you know that e.g. every MP3 frame has 1152 samples, every AAC frame
(in some profile) has 1024 samples, etc. You need additional knowledge about
the codec for that, which is not too bad... just suboptimal.
Relying on the timestamps for that is going to never work reliable, hardware
codecs often give you the most interesting values there...

Of course this is all only a workaround, ideally the audio decoder base class
would not care at all about how many frames an output buffer contains and just
do the right thing.

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