mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
909dd7831b
With most decoder libraries, and especially when accessing codecs via OpenMAX or similar APIs, we don't have the ability to properly related the output buffers to a number of input samples. And could e.g. get a fractional number of input buffers decoded at a time. Previously this would in the end lead to an error message and stopped playback. Change it to a warning message instead and try to handle it gracefully. In theory the subclass can now get timestamp tracking wrong if it completely misuses the API, but if on average it behaves correct (and gst-omx and others do) it will continue to work properly. Also add a test for the new behaviour. We don't change it in the encoder yet as that requires more internal logic changes AFAIU and I'm not aware of a case where this was a problem so far. |
||
---|---|---|
.. | ||
.gitignore | ||
audio.c | ||
audiocdsrc.c | ||
audiodecoder.c | ||
audioencoder.c | ||
discoverer.c | ||
fft.c | ||
gstlibscpp.cc | ||
libsabi.c | ||
mikey.c | ||
navigation.c | ||
pbutils.c | ||
profile.c | ||
rtp.c | ||
rtpbasedepayload.c | ||
rtpbasepayload.c | ||
rtsp.c | ||
rtspconnection.c | ||
sdp.c | ||
struct_arm.h | ||
struct_i386.h | ||
struct_i386_osx.h | ||
struct_ppc32.h | ||
struct_x86_64.h | ||
tag.c | ||
video.c | ||
videodecoder.c | ||
videoencoder.c | ||
xmpwriter.c |