projectm: fix typo.
authorRémi Duraffort <ivoire@videolan.org>
Thu, 9 Jul 2009 10:04:45 +0000 (12:04 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 9 Jul 2009 10:05:09 +0000 (12:05 +0200)
modules/visualization/projectm.cpp

index 1c011a5..60c2052 100644 (file)
@@ -122,7 +122,7 @@ static int initOpenGL( projectm_thread_t *p_thread )
 
     /* Initialize the opengl object */
     video_format_Setup( &p_thread->p_opengl->fmt_in, VLC_CODEC_RGB32,
-                        640, 460, 1 );
+                        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;