[vlc-devel] commit: projectm: manage the events. ( Rémi Duraffort )

git version control git at videolan.org
Tue Jul 21 11:32:58 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Jul 21 11:29:17 2009 +0200| [a899dcfc526cd2b1f150964b21ff6b5d796439a4] | committer: Rémi Duraffort 

projectm: manage the events.

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

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

diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index 29afdbe..21e0c70 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -129,6 +129,7 @@ static int initOpenGL( projectm_thread_t *p_thread )
     p_thread->p_opengl->render.i_height = p_thread->i_height;
     p_thread->p_opengl->render.i_aspect = VOUT_ASPECT_FACTOR;
     p_thread->p_opengl->b_fullscreen = false;
+    p_thread->p_opengl->b_autoscale = true;
     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;
@@ -304,6 +305,8 @@ static void* Thread( vlc_object_t *p_this )
 
     while( vlc_object_alive( p_thread ) )
     {
+        /* Manage the events */
+        p_thread->p_opengl->pf_manage( p_thread->p_opengl );
         /* Render the image and swap the buffers */
         vlc_mutex_lock( &p_thread->lock );
         if( p_thread->i_nb_samples > 0 )




More information about the vlc-devel mailing list