[vlc-commits] decoder: implement pf_flush for all decoders/packetizers
Thomas Guillem
git at videolan.org
Sat Dec 5 12:55:11 CET 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Dec 4 20:16:15 2015 +0100| [c94f68febd2be06188fee9753a128886a5c0ffd5] | committer: Thomas Guillem
decoder: implement pf_flush for all decoders/packetizers
For now, a lot of decoder/packetizer are also flushing on
BLOCK_FLAG_DISCONTINUITY flag. Some others are also flushing on
BLOCK_FLAG_CORRUPTED flag (omxil, videotoolbox, avcodec audio).
This patch doesn't change the current behavior.
But maybe we shouldn't flush anymore on DISCONTINUOUS/CORRUPTED.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c94f68febd2be06188fee9753a128886a5c0ffd5
---
modules/codec/a52.c | 21 ++++++++++++++++---
modules/codec/adpcm.c | 14 ++++++++++++-
modules/codec/aes3.c | 13 +++++++++++-
modules/codec/araw.c | 14 ++++++++++++-
modules/codec/avcodec/audio.c | 26 +++++++++++++++++-------
modules/codec/avcodec/subtitle.c | 14 ++++++++++++-
modules/codec/avcodec/video.c | 25 ++++++++++++++++-------
modules/codec/cc.c | 16 +++++++++++++--
modules/codec/cdg.c | 14 ++++++++++++-
modules/codec/dts.c | 20 ++++++++++++++++---
modules/codec/dvbsub.c | 14 ++++++++++++-
modules/codec/faad.c | 14 ++++++++++++-
modules/codec/flac.c | 14 ++++++++++++-
modules/codec/fluidsynth.c | 21 ++++++++++++-------
modules/codec/g711.c | 11 +++++++++-
modules/codec/gstdecode.c | 41 +++++++++++++++++++++++---------------
modules/codec/kate.c | 18 +++++++++++++++++
modules/codec/libass.c | 14 ++++++++++++-
modules/codec/libmpeg2.c | 1 +
modules/codec/lpcm.c | 14 ++++++++++++-
modules/codec/mpeg_audio.c | 21 ++++++++++++++++---
modules/codec/mpg123.c | 14 ++++++++++++-
modules/codec/omxil/mediacodec.c | 17 +++++++++++++++-
modules/codec/omxil/omxil.c | 25 ++++++++++++++++-------
modules/codec/opus.c | 14 ++++++++++++-
modules/codec/rawvideo.c | 13 ++++++++++++
modules/codec/schroedinger.c | 16 +++++++++++++--
modules/codec/speex.c | 14 ++++++++++++-
modules/codec/theora.c | 12 +++++++++++
modules/codec/uleaddvaudio.c | 10 +++++++++-
modules/codec/videotoolbox.m | 25 +++++++++++++++--------
modules/codec/vorbis.c | 14 ++++++++++++-
modules/codec/wmafixed/wma.c | 14 ++++++++++++-
modules/hw/mmal/codec.c | 7 +++----
modules/packetizer/dirac.c | 32 ++++++++++++++++++++---------
modules/packetizer/flac.c | 12 +++++++++--
modules/packetizer/mlp.c | 20 +++++++++++++++----
modules/packetizer/mpeg4audio.c | 32 +++++++++++++++++++++++++----
38 files changed, 545 insertions(+), 106 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=c94f68febd2be06188fee9753a128886a5c0ffd5
More information about the vlc-commits
mailing list