]> git.sesse.net Git - vlc/blobdiff - modules/video_output/omapfb.c
prevent vlc hanging in an infinite loop when vout base window cannot be displayed.
[vlc] / modules / video_output / omapfb.c
index 2daaee939a37af4a46368b4862a0af4ead3b9014..8a3337110fe5559276b12dd0192b976aff55857f 100644 (file)
@@ -373,14 +373,7 @@ static void End( vout_thread_t *p_vout )
  *****************************************************************************/
 static int Control( vout_thread_t *p_vout, int i_query, va_list args )
 {
-    switch( i_query )
-    {
-       case VOUT_REPARENT:
-            vout_ReleaseWindow( p_vout->p_sys->owner_window );
-            return VLC_SUCCESS;
-       default:
-            return vout_vaControlDefault( p_vout, i_query, args );
-    }
+    return VLC_EGENERIC;
 }
 
 /*****************************************************************************