[vlc-devel] [PATCH 00/17] Decoder fallback: the final set

Thomas Guillem thomas at gllm.fr
Wed Jul 27 17:31:57 CEST 2016


PS: This code is tested with AC3/DTS samples via Pulse Audio using HDMI
and S/PDIF and via mmdevice using HDMI.

On Wed, Jul 27, 2016, at 17:27, Thomas Guillem wrote:
> News since the last set of patches:
> 
>  - Add decoder fallback to handle the case when the audio output change
>  during
>    playback (04/17, 05/17, and 06/17)
> 
>  - Refactor dts_header.c (09/17 and 10/17)
> 
>  - Create new dts packetizer using new dts_header (11/17)
> 
>  - a52tofloat32 filter moved to liba52 codec (13/17)
> 
>  - dtstofloat32 filter moved to dca codec (14/17)
> 
>  - mkv: AC3*/DTS* are not packetized (15/17)
> 
>  - Revert back "spdif" option handling: (16/17 and 17/17)
> 
> TODO:
> 
>  - mp4: correctly fill audio_format_t for AC3*/DTS*
> 
> Thomas Guillem (17):
>   decoder: don't set dec->b_error if aout_update_format fails
>   decoder: abort packetizer loop in case of error
>   decoder: factor decoder reload when fmt_in changes
>   audio_output: aout_DecPlay: signal if the aout changed or failed
>   decoder: add decoder_RequestReload
>   decoder: reload module if aout changed or failed
>   codec: add S/PDIF pass-through decoder
>   a52: move to packetizer
>   dts_helper: move to packetizer
>   dts_header: refactor, return values directly exploitable by the caller
>   packetizer: add new dts module
>   codec: remove old dts module
>   a52tofloat32: move to liba52 codec
>   dtstofloat32: move to dca codec
>   mkv: AC3*/DTS* are not packetized
>   wasapi: don't check "spdif" option
>   libvlc: change "spdif" option
> 
>  configure.ac                                  |  12 +-
>  extras/package/rpm/vlc.altlinux.spec          |  15 +-
>  include/vlc_codec.h                           |   7 +
>  modules/MODULES_LIST                          |   5 +-
>  modules/audio_filter/Makefile.am              |  11 -
>  modules/audio_filter/converter/a52tofloat32.c | 420 ------------------
>  modules/audio_filter/converter/dtstofloat32.c | 371 ----------------
>  modules/audio_output/wasapi.c                 |   2 +-
>  modules/codec/Makefile.am                     |  22 +-
>  modules/codec/a52.c                           | 430 ------------------
>  modules/codec/a52.h                           | 216 ---------
>  modules/codec/dca.c                           | 359 +++++++++++++++
>  modules/codec/dts.c                           | 605
>  --------------------------
>  modules/codec/dts_header.c                    | 243 -----------
>  modules/codec/dts_header.h                    |  35 --
>  modules/codec/liba52.c                        | 384 ++++++++++++++++
>  modules/codec/spdif.c                         |  99 +++++
>  modules/demux/Makefile.am                     |   4 +-
>  modules/demux/mkv/matroska_segment_parse.cpp  |  11 +-
>  modules/demux/mkv/mkv.cpp                     |  17 +-
>  modules/demux/mpeg/es.c                       |  20 +-
>  modules/packetizer/Makefile.am                |   6 +-
>  modules/packetizer/a52.c                      | 328 ++++++++++++++
>  modules/packetizer/a52.h                      | 216 +++++++++
>  modules/packetizer/dts.c                      | 332 ++++++++++++++
>  modules/packetizer/dts_header.c               | 355 +++++++++++++++
>  modules/packetizer/dts_header.h               |  40 ++
>  po/POTFILES.in                                |   9 +-
>  src/audio_output/aout_internal.h              |   6 +-
>  src/audio_output/dec.c                        |  11 +-
>  src/input/decoder.c                           | 114 ++++-
>  src/libvlc-module.c                           |   7 +-
>  src/libvlccore.sym                            |   1 +
>  33 files changed, 2308 insertions(+), 2405 deletions(-)
>  delete mode 100644 modules/audio_filter/converter/a52tofloat32.c
>  delete mode 100644 modules/audio_filter/converter/dtstofloat32.c
>  delete mode 100644 modules/codec/a52.c
>  delete mode 100644 modules/codec/a52.h
>  create mode 100644 modules/codec/dca.c
>  delete mode 100644 modules/codec/dts.c
>  delete mode 100644 modules/codec/dts_header.c
>  delete mode 100644 modules/codec/dts_header.h
>  create mode 100644 modules/codec/liba52.c
>  create mode 100644 modules/codec/spdif.c
>  create mode 100644 modules/packetizer/a52.c
>  create mode 100644 modules/packetizer/a52.h
>  create mode 100644 modules/packetizer/dts.c
>  create mode 100644 modules/packetizer/dts_header.c
>  create mode 100644 modules/packetizer/dts_header.h
> 
> -- 
> 2.8.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list