Commit 48278e0c authored by Laurent Aimar's avatar Laurent Aimar Committed by Derk-Jan Hartman

First teletext track is prefered (usually main page).

(cherry picked from commit dab65897)
parent d3a29562
...@@ -493,7 +493,10 @@ static void EsOutESVarUpdateGeneric( es_out_t *out, int i_id, es_format_t *fmt, ...@@ -493,7 +493,10 @@ static void EsOutESVarUpdateGeneric( es_out_t *out, int i_id, es_format_t *fmt,
free( text.psz_string ); free( text.psz_string );
if( b_teletext ) if( b_teletext )
{
if( var_GetInteger( p_sys->p_input, "teletext-es" ) < 0 )
var_SetInteger( p_sys->p_input, "teletext-es", i_id ); var_SetInteger( p_sys->p_input, "teletext-es", i_id );
}
var_SetBool( p_sys->p_input, "intf-change", true ); var_SetBool( p_sys->p_input, "intf-change", true );
} }
......
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