Commit 878a2399 authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Removed now useless es_out_t::b_sout field.

parent e1978d6d
......@@ -101,8 +101,6 @@ struct es_out_t
int (*pf_control)( es_out_t *, int i_query, va_list );
void (*pf_destroy)( es_out_t * );
bool b_sout;
es_out_sys_t *p_sys;
};
......
......@@ -1343,7 +1343,6 @@ static es_out_t *EsOutNew( demux_t *p_demux )
p_out->pf_del = EsOutDel;
p_out->pf_control = EsOutControl;
p_out->pf_destroy = EsOutDestroy;
p_out->b_sout = false;
p_out->p_sys = p_sys = malloc( sizeof(*p_sys) );
if( !p_sys )
......
......@@ -237,8 +237,6 @@ es_out_t *input_EsOutNew( input_thread_t *p_input, int i_rate )
out->pf_control = EsOutControl;
out->pf_destroy = EsOutDelete;
out->p_sys = p_sys;
out->b_sout = false; /* It has no meaning here, and p_input->p->p_sout is not yet valid */
vlc_mutex_init_recursive( &p_sys->lock );
p_sys->p_input = p_input;
......
......@@ -307,7 +307,6 @@ es_out_t *input_EsOutTimeshiftNew( input_thread_t *p_input, es_out_t *p_next_out
p_out->pf_control = Control;
p_out->pf_destroy = Destroy;
p_out->p_sys = p_sys;
p_out->b_sout = p_input->p->p_sout != NULL;
/* */
p_sys->b_input_paused = false;
......
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