Commit 4b1b487f authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

demux: mp4: text/tx3g defaults to codec tx3G (fix #14045)

(cherry picked from commit 47f8a34b48ecff9a3371348042f8f3b3e9bedc2c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3a58c9a9
......@@ -1657,7 +1657,7 @@ static void LoadChapter( demux_t *p_demux )
{
mp4_track_t *tk = &p_sys->track[j];
if( tk->b_ok && tk->i_track_ID == p_chap->i_track_ID[i] &&
tk->fmt.i_cat == SPU_ES && tk->fmt.i_codec == VLC_CODEC_SUBT )
tk->fmt.i_cat == SPU_ES && tk->fmt.i_codec == VLC_CODEC_TX3G )
break;
}
if( j < p_sys->i_tracks )
......@@ -3152,7 +3152,6 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
case( ATOM_text ):
case( ATOM_subp ):
case( ATOM_sbtl ):
p_track->fmt.i_codec = VLC_CODEC_TX3G;
p_track->fmt.i_cat = SPU_ES;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment