[vlc-commits] codec: don't drop blocks marked BLOCK_FLAG_DISCONTINUITY

Jean-Paul Saman git at videolan.org
Tue Oct 13 07:21:00 CEST 2015


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Fri Sep 18 15:45:33 2015 +0300| [48a867c768aeddcd2756c49960eaa2eb42629fbe] | committer: Ilkka Ollakka

codec: don't drop blocks marked BLOCK_FLAG_DISCONTINUITY

If blocks are marked BLOCK_FLAG_DISCONTINUITY then do not drop them,
unless BLOCK_FLAGS_CORRUPTED is set. Instead flush old blocks from decoder
queue and restart at this new stream access point (new timeline).

Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=48a867c768aeddcd2756c49960eaa2eb42629fbe
---

 modules/codec/a52.c              |   16 +++++++---------
 modules/codec/adpcm.c            |   10 ++++++++++
 modules/codec/aes3.c             |   10 +++++++++-
 modules/codec/araw.c             |    6 ++++++
 modules/codec/arib/aribsub.c     |    6 ++++++
 modules/codec/avcodec/audio.c    |    4 ++--
 modules/codec/avcodec/subtitle.c |   12 ++++++------
 modules/codec/avcodec/video.c    |    5 +++--
 modules/codec/bpg.c              |   14 ++------------
 modules/codec/cdg.c              |    5 +++--
 modules/codec/crystalhd.c        |    3 +--
 modules/codec/cvdsub.c           |    6 ++++++
 modules/codec/ddummy.c           |    1 +
 modules/codec/dts.c              |   16 +++++++++-------
 modules/codec/dvbsub.c           |   12 +++++++++++-
 modules/codec/faad.c             |   11 ++++++++---
 modules/codec/flac.c             |   11 ++++++++---
 modules/codec/fluidsynth.c       |    7 ++++++-
 modules/codec/g711.c             |   10 ++++++++++
 modules/codec/jpeg.c             |    6 +-----
 modules/codec/kate.c             |    1 +
 modules/codec/libass.c           |    5 +++--
 modules/codec/lpcm.c             |    9 +++++++++
 modules/codec/mft.c              |    4 ++++
 modules/codec/mpeg_audio.c       |   21 +++++++++++----------
 modules/codec/mpg123.c           |    5 +++--
 modules/codec/omxil/omxil.c      |    4 ++--
 modules/codec/opus.c             |   22 +++++++++++++++-------
 modules/codec/rawvideo.c         |    3 +++
 modules/codec/schroedinger.c     |    2 +-
 modules/codec/speex.c            |    3 +++
 modules/codec/spudec/spudec.c    |    6 ++++++
 modules/codec/stl.c              |    3 ++-
 modules/codec/subsdec.c          |    9 ++++++---
 modules/codec/substtml.c         |    3 +++
 modules/codec/subsusf.c          |    3 +++
 modules/codec/theora.c           |   14 ++++++++++----
 modules/codec/uleaddvaudio.c     |   12 ++++++------
 modules/codec/vorbis.c           |   16 ++++++++++++++--
 modules/codec/wmafixed/wma.c     |   13 ++++++++-----
 40 files changed, 228 insertions(+), 101 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=48a867c768aeddcd2756c49960eaa2eb42629fbe


More information about the vlc-commits mailing list