[vlc-devel] [PATCH] [RESEND] demux: mp4: fix can't recognize clcp media type's closed caption

Francois Cartegnie fcvlcdev at free.fr
Mon May 20 12:26:13 CEST 2019


Le 20/05/2019 à 06:15, Hyeon-Ju Lee a écrit :

> @@ -3000,7 +3000,8 @@ static int TrackCreateES( demux_t *p_demux,
> mp4_track_t *p_track,
>      case SPU_ES:
>          if ( ( p_sample->i_handler != ATOM_text &&
>                 p_sample->i_handler != ATOM_subt &&
> -               p_sample->i_handler != ATOM_sbtl ) ||
> +               p_sample->i_handler != ATOM_sbtl &&
> +               p_sample->i_handler != ATOM_clcp ) ||
>               !SetupSpuES( p_demux, p_track, p_sample ) )


It was working before, so that's a regression.

I will apply, thanks

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list