[vlc-devel] [PATCH 0/2] Update decoder fmt_in if packetizer format changed

Thomas Guillem thomas at gllm.fr
Wed Jul 29 13:58:19 CEST 2015


Some codec like AC3 or DTS don't have any extra. Therefore, the dec->fmt_in is
not updated when the packetizer find a new format.

These patches add a format comparison in addition of the extra comparison for
both Audio and Video.

Thomas Guillem (2):
  vlc_vout: add VOUT_FMTS_* compare helper
  decoder: update fmt_in if packetizer format changed

 include/vlc_vout.h  | 16 ++++++++++++++++
 src/input/decoder.c | 16 +++++-----------
 2 files changed, 21 insertions(+), 11 deletions(-)

-- 
2.1.4




More information about the vlc-devel mailing list