[vlc-commits] codec: avcodec: adapt audio code to new API
Francois Cartegnie
git at videolan.org
Thu Oct 20 13:02:21 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 10 20:11:25 2016 +0200| [809ee115635ba338fe61c68eb62dfa6ea39c16bb] | committer: Francois Cartegnie
codec: avcodec: adapt audio code to new API
adapting to the new API requires more than local
patches.
The block is always passed in full, and we can
expect more than a single frame when push returns
EAGAIN.
Requires then more interpolation for timestamps before
using next input packet pts.
Should also be correct when dequeing end of stream.
Implements decoder draining
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=809ee115635ba338fe61c68eb62dfa6ea39c16bb
---
modules/codec/avcodec/audio.c | 295 +++++++++++++++++++++++++---------------
modules/codec/avcodec/avcodec.c | 16 ++-
modules/codec/avcodec/avcodec.h | 1 +
3 files changed, 198 insertions(+), 114 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=809ee115635ba338fe61c68eb62dfa6ea39c16bb
More information about the vlc-commits
mailing list