]> git.sesse.net Git - vlc/commitdiff
* modules/video_filter/deinterlace.c: implemented a forwarding vout_vaControl().
authorGildas Bazin <gbazin@videolan.org>
Fri, 23 Apr 2004 19:50:33 +0000 (19:50 +0000)
committerGildas Bazin <gbazin@videolan.org>
Fri, 23 Apr 2004 19:50:33 +0000 (19:50 +0000)
modules/video_filter/deinterlace.c

index 31db425732bc35f04e3178397773f1a828317b6a..311665f3cbfbdb20c46640148eb0bee8f99e962c 100644 (file)
@@ -129,6 +129,14 @@ struct vout_sys_t
     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
  *****************************************************************************
@@ -152,6 +160,7 @@ static int Create( vlc_object_t *p_this )
     p_vout->pf_manage = NULL;
     p_vout->pf_render = Render;
     p_vout->pf_display = NULL;
+    p_vout->pf_control = Control;
 
     p_vout->p_sys->i_mode = DEINTERLACE_DISCARD;
     p_vout->p_sys->b_double_rate = 0;