Commit dab65897 authored by Laurent Aimar's avatar Laurent Aimar

First teletext track is prefered (usually main page).

parent 10ac32d6
...@@ -579,7 +579,10 @@ static void EsOutESVarUpdateGeneric( es_out_t *out, int i_id, es_format_t *fmt, ...@@ -579,7 +579,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 )
var_SetInteger( p_sys->p_input, "teletext-es", i_id ); {
if( var_GetInteger( p_sys->p_input, "teletext-es" ) < 0 )
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