[vlc-devel] [PATCH V2 0/8] Handle (AC-3 core + EAC3 Ext) -> AC3 fallback

Thomas Guillem thomas at gllm.fr
Mon Oct 7 15:46:18 CEST 2019


Hello,

cf. my gitlab branch here: https://code.videolan.org/tguillem/vlc/tree/eac3-fix/3
and the V1 proposal here: https://mailman.videolan.org/pipermail/vlc-devel/2019-October/128137.html

Changes since V1:
 - audio_format_t is now left untouched (removed extended var)
 - Added the VLC_CODEC_DTSHD fourcc (that is used only by ouputs and filters)
 - The DTSHD->DTS and EAC3->AC3 fallbacks are now handled directly in the aout
   core part. The PulseAudio patches from the V1 are not needed anymore.

Best,
Thomas Guillem (8):
  fourcc: add VLC_CODEC_DTSHD
  dec: use owner->input_format
  aout: remove owner arguments
  aout: move profile handling to aout_DecNew
  aout: handle DTSHD->DTS fallback
  packetizer: detect AC-3 core + EAC3 extension
  aout: handle EAC3 -> A52 fallback
  demux: mp4: trigger the packetizer for some AC3 tracks

 include/vlc_aout.h                       |  1 +
 include/vlc_fourcc.h                     |  2 ++
 modules/audio_filter/converter/tospdif.c | 13 ++++---
 modules/audio_output/audiotrack.c        | 34 ++++++++----------
 modules/audio_output/mmdevice.c          |  2 --
 modules/audio_output/wasapi.c            | 22 +-----------
 modules/demux/mp4/essetup.c              | 16 +++++++++
 modules/packetizer/a52.c                 |  4 +++
 modules/packetizer/a52.h                 |  2 ++
 src/audio_output/aout_internal.h         | 16 +++++++--
 src/audio_output/dec.c                   | 19 +++++-----
 src/audio_output/output.c                | 44 +++++++++++++++++++++---
 src/input/decoder.c                      |  8 ++---
 13 files changed, 112 insertions(+), 71 deletions(-)

-- 
2.20.1



More information about the vlc-devel mailing list