From a899dcfc526cd2b1f150964b21ff6b5d796439a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Tue, 21 Jul 2009 11:29:17 +0200 Subject: [PATCH] projectm: manage the events. --- modules/visualization/projectm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp index 29afdbe862..21e0c70bf4 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 ) -- 2.39.5