[Bug 685730] audiodecoder: Timestamp and buffer tracking not threadsafe and robust

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon May 11 01:24:15 PDT 2015


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

--- Comment #5 from Edward Hervey <bilboed at bilboed.com> ---
My problem with that logic is that it implies the decoder knows how many frames
are in output. Which is great if you have a very specific implementation where
you know that, but is cumbersome to deal with if you don't (such as the case of
the generic android audio decoder wrapper).

Most "generic" abstraction API won't provide you with that information but
do/should provide you with timing information. Ergo my proposal.

The alternative is providing helper functions to figure out the frame size (for
all codecs and formats (sic)) and pray the implementation doesn't do anything
smart ...

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