[vlc-devel] [PATCH 0/4] v2. decoder: restart module if fmt_in changes

Thomas Guillem thomas at gllm.fr
Mon Sep 7 16:53:14 CEST 2015


Second version, by removing b_need_packetized.

The third patch need more testing, I only tested fews codecs with few input
types.

Thomas Guillem (4):
  decoder: rearrange module load/unload
  decoder: set packetizer's fmt_out.b_packetized to true
  decoder: remove b_need_packetized
  decoder: restart module if fmt_in is changed by the packetizer

 include/vlc_codec.h              |   3 -
 modules/codec/avcodec/avcodec.c  |   2 -
 modules/codec/avcodec/video.c    |   3 -
 modules/codec/crystalhd.c        |   1 -
 modules/codec/faad.c             |   3 -
 modules/codec/flac.c             |   3 -
 modules/codec/gstdecode.c        |   2 -
 modules/codec/mft.c              |   1 -
 modules/codec/omxil/mediacodec.c |   1 -
 modules/codec/omxil/omxil.c      |   2 -
 modules/codec/videotoolbox.m     |   2 -
 modules/codec/vpx.c              |   1 -
 modules/hw/mmal/codec.c          |   1 -
 src/input/decoder.c              | 203 +++++++++++++++++++++++----------------
 14 files changed, 118 insertions(+), 110 deletions(-)

-- 
2.1.4



More information about the vlc-devel mailing list