Commit 8d65a755 authored by Laurent Aimar's avatar Laurent Aimar

Do not delete input variable, only remove callbacks (and all of them).

Otherwise, every one would have to check the return value of var_Get ...
parent 4a28278b
......@@ -1271,7 +1271,7 @@ static void End( input_thread_t * p_input )
input_ChangeState( p_input, END_S );
/* Clean control variables */
input_ControlVarClean( p_input );
input_ControlVarStop( p_input );
/* Clean up master */
InputSourceClean( &p_input->p->input );
......
......@@ -314,7 +314,7 @@ sout_instance_t * input_DetachSout( input_thread_t *p_input );
/* var.c */
void input_ControlVarInit ( input_thread_t * );
void input_ControlVarClean( input_thread_t * );
void input_ControlVarStop( input_thread_t * );
void input_ControlVarNavigation( input_thread_t * );
void input_ControlVarTitle( input_thread_t *, int i_title );
......
This diff is collapsed.
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