]> git.sesse.net Git - vlc/commitdiff
* fixed galaktos plugin which was broken for a very long time
authorCyril Deguet <asmax@videolan.org>
Sun, 30 Jul 2006 12:22:00 +0000 (12:22 +0000)
committerCyril Deguet <asmax@videolan.org>
Sun, 30 Jul 2006 12:22:00 +0000 (12:22 +0000)
modules/visualization/galaktos/plugin.c

index 0fd8633518ad9095ace1bad14f8a8002816a83eb..d945adf596b22e22b8a6f8f6e1629729d8f45b16 100644 (file)
@@ -208,12 +208,21 @@ static void Thread( vlc_object_t *p_this )
     }
     vlc_object_attach( p_thread->p_opengl, p_this );
 
+    /* Initialize vout parameters */
+    vout_InitFormat( &p_thread->p_opengl->fmt_in,
+                     VLC_FOURCC('R','V','3','2'),
+                     p_thread->i_width, p_thread->i_height, 1 );
     p_thread->p_opengl->i_window_width = p_thread->i_width;
     p_thread->p_opengl->i_window_height = p_thread->i_height;
     p_thread->p_opengl->render.i_width = p_thread->i_width;
     p_thread->p_opengl->render.i_height = p_thread->i_width;
     p_thread->p_opengl->render.i_aspect = VOUT_ASPECT_FACTOR;
     p_thread->p_opengl->b_scale = VLC_TRUE;
+    p_thread->p_opengl->b_fullscreen = VLC_FALSE;
+    p_thread->p_opengl->i_alignment = 0;
+    p_thread->p_opengl->fmt_in.i_sar_num = 1;
+    p_thread->p_opengl->fmt_in.i_sar_den = 1;
+    p_thread->p_opengl->fmt_render = p_thread->p_opengl->fmt_in;
 
     p_thread->p_module =
         module_Need( p_thread->p_opengl, "opengl provider", NULL, 0 );