Commit ba6992cc authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_filter/deinterlace.c: implemented a forwarding vout_vaControl().

parent de4f5320
...@@ -129,6 +129,14 @@ struct vout_sys_t ...@@ -129,6 +129,14 @@ struct vout_sys_t
void (*pf_end_merge) ( void ); void (*pf_end_merge) ( void );
}; };
/*****************************************************************************
* Control: control facility for the vout (forwards to child vout)
*****************************************************************************/
static int Control( vout_thread_t *p_vout, int i_query, va_list args )
{
return vout_vaControl( p_vout->p_sys->p_vout, i_query, args );
}
/***************************************************************************** /*****************************************************************************
* Create: allocates Deinterlace video thread output method * Create: allocates Deinterlace video thread output method
***************************************************************************** *****************************************************************************
...@@ -152,6 +160,7 @@ static int Create( vlc_object_t *p_this ) ...@@ -152,6 +160,7 @@ static int Create( vlc_object_t *p_this )
p_vout->pf_manage = NULL; p_vout->pf_manage = NULL;
p_vout->pf_render = Render; p_vout->pf_render = Render;
p_vout->pf_display = NULL; p_vout->pf_display = NULL;
p_vout->pf_control = Control;
p_vout->p_sys->i_mode = DEINTERLACE_DISCARD; p_vout->p_sys->i_mode = DEINTERLACE_DISCARD;
p_vout->p_sys->b_double_rate = 0; p_vout->p_sys->b_double_rate = 0;
......
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