]> git.sesse.net Git - vlc/commitdiff
Copy [23439] for dummy video output
authorRafaël Carré <funman@videolan.org>
Mon, 3 Dec 2007 14:19:13 +0000 (14:19 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 3 Dec 2007 14:19:13 +0000 (14:19 +0000)
modules/misc/dummy/vout.c

index 730bfaef08fba83d20e2c4dd53bc4e7f9e7b527f..15fe7d61b2c4a339f32656b2f081b786c4e1284d 100644 (file)
@@ -43,6 +43,7 @@ static int  Manage     ( vout_thread_t * );
 static void Render     ( vout_thread_t *, picture_t * );
 static void Display    ( vout_thread_t *, picture_t * );
 static void SetPalette ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t * );
+static int  Control   ( vout_thread_t *, int, va_list );
 
 /*****************************************************************************
  * OpenVideo: activates dummy video thread output method
@@ -58,10 +59,24 @@ int E_(OpenVideo) ( vlc_object_t *p_this )
     p_vout->pf_manage = Manage;
     p_vout->pf_render = Render;
     p_vout->pf_display = Display;
+    p_vout->pf_control = Control;
 
     return VLC_SUCCESS;
 }
 
+/*****************************************************************************
+ * Control: control facility for the vout
+ *****************************************************************************/
+static int Control( vout_thread_t *p_vout, int i_query, va_list args )
+{
+    switch( i_query )
+    {
+       default:
+            return vout_vaControlDefault( p_vout, i_query, args );
+    }
+}
+
+
 /*****************************************************************************
  * Init: initialize dummy video thread output method
  *****************************************************************************/