[vlc-devel] [PATCH] decoder fallback when the aout fails during playback

Thomas Guillem thomas at gllm.fr
Tue Jul 26 18:19:32 CEST 2016

This patch fixes a regression introduced by my last proposal about AC3/DTS
packetizer/decoder rewrite. The last updated version can be found here

Indeed, if the user changes from a S/PDIF aout to a PCM one, the aout will be
restarted but there won't be any filter to convert AC3/DTS to PCM, therefore
the aout will fail. This patch try to fix this issue by reloading the decoder
module when the aout ask for it (in order to load a PCM decoder).


Thomas Guillem (1):
  decoder: reload module if aout restart and fails during playback

 src/audio_output/aout_internal.h |  2 +-
 src/audio_output/dec.c           | 11 ++++++++---
 src/input/decoder.c              | 15 ++++++++++++++-
 3 files changed, 23 insertions(+), 5 deletions(-)


More information about the vlc-devel mailing list