[vlc-commits] commit: Compilation fix for osdmenu. (Laurent Aimar )

git at videolan.org git at videolan.org
Sun Apr 18 16:28:13 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Apr 18 16:19:45 2010 +0200| [c37501542c7aee37635f6cabd0301924c5f8b0dc] | committer: Laurent Aimar 

Compilation fix for osdmenu.

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

 modules/video_filter/osdmenu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/osdmenu.c b/modules/video_filter/osdmenu.c
index 377f740..b9f9807 100644
--- a/modules/video_filter/osdmenu.c
+++ b/modules/video_filter/osdmenu.c
@@ -648,8 +648,8 @@ static int MouseEvent( vlc_object_t *p_this, char const *psz_var,
     vout_thread_t *p_vout = (vout_thread_t*)p_sys->p_vout;
     int i_x = newval.coords.x;
     int i_y = newval.coords.y;
-    int v_h = p_vout->output.i_height;
-    int v_w = p_vout->output.i_width;
+    int v_h = p_vout->fmt_out.i_height;
+    int v_w = p_vout->fmt_out.i_width;
 
     if( i_y < 0 || i_x < 0 || i_y >= v_h || i_x >= v_w )
         return VLC_SUCCESS;



More information about the vlc-commits mailing list