[vlc-devel] [PATCH 04/13] ts: handle VLC_CODEC_DTSHD

Francois Cartegnie fcvlcdev at free.fr
Tue Dec 19 13:50:52 CET 2017


Le 19/12/2017 à 12:38, Thomas Guillem a écrit :
> ---
>  modules/demux/mpeg/ts_psi.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
> index e1462ddc9f..f9ed9f3573 100644
> --- a/modules/demux/mpeg/ts_psi.c
> +++ b/modules/demux/mpeg/ts_psi.c
> @@ -1258,10 +1258,11 @@ static bool PMTSetupEsHDMV( demux_t *p_demux, ts_es_t *p_es,
>          es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_A52 );
>          break;
>      case 0x82:
> +        es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
>      case 0x85: /* DTS-HD High resolution audio */
>      case 0x86: /* DTS-HD Master audio */
>      case 0xA2: /* Secondary DTS audio */
> -        es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
> +        es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTSHD );
>          break;
>  
>      case 0x83: /* TrueHD AC3 */
> 

Secondary is not DTSHD

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list