[vlc-devel] commit: projectm: fix typo. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jul 9 12:11:07 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul  9 12:04:45 2009 +0200| [fc18c1cf014e7f0ab51cb9f104d346621df01433] | committer: Rémi Duraffort 

projectm: fix typo.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fc18c1cf014e7f0ab51cb9f104d346621df01433
---

 modules/visualization/projectm.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index 1c011a5..60c2052 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -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;




More information about the vlc-devel mailing list