Commit 86a419d7 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: mp4: set priority of forced subtitles

refs #16803
parent f110737a
......@@ -865,6 +865,9 @@ int SetupSpuES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
{
p_track->fmt.i_codec = VLC_CODEC_TX3G;
if( p_text->i_display_flags & 0xC0000000 )
p_track->fmt.i_priority = ES_PRIORITY_SELECTABLE_MIN + 1;
text_style_t *p_style = text_style_Create( STYLE_NO_DEFAULTS );
if ( p_style )
{
......
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