[vlc-devel] [PATCH 05/13] ps: handle VLC_CODEC_DTSHD

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


Le 19/12/2017 à 12:38, Thomas Guillem a écrit :
> ---
>  modules/demux/mpeg/ps.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/demux/mpeg/ps.h b/modules/demux/mpeg/ps.h
> index 6d3d5c4662..bc5aeca6f8 100644
> --- a/modules/demux/mpeg/ps.h
> +++ b/modules/demux/mpeg/ps.h
> @@ -130,7 +130,7 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm,
>          if( ( i_id&0xf8 ) == 0x88 || /* 0x88 -> 0x8f - Can be DTS-HD primary audio in evob */
>              ( i_id&0xf8 ) == 0x98 )  /* 0x98 -> 0x9f - Can be DTS-HD secondary audio in evob */
>          {
> -            es_format_Change( &tk->fmt, AUDIO_ES, VLC_CODEC_DTS );
> +            es_format_Change( &tk->fmt, AUDIO_ES, VLC_CODEC_DTSHD );
>              tk->i_skip = 4;
>          }
>          else if( ( i_id&0xf8 ) == 0x80 || /* 0x80 -> 0x87 */
> 

Not valid since this is undefined.
Will be upgraded by packetizer.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list