Commit 9d4aaaa8 authored by Thomas Guillem's avatar Thomas Guillem

input: send initial video viewpoint to the input

parent 3fdd4286
......@@ -244,6 +244,11 @@ static vout_thread_t *RequestVout( input_resource_t *p_resource,
DisplayVoutTitle( p_resource, p_vout );
/* Send original viewpoint to the input in order to update other ESes */
if( p_resource->p_input != NULL )
input_Control( p_resource->p_input, INPUT_SET_INITIAL_VIEWPOINT,
&p_fmt->pose );
vlc_mutex_lock( &p_resource->lock_hold );
TAB_APPEND( p_resource->i_vout, p_resource->pp_vout, p_vout );
vlc_mutex_unlock( &p_resource->lock_hold );
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