[vlc-commits] commit: Fixed invalid var_SetBool in video_filter wrapper . (Laurent Aimar )

git version control git at videolan.org
Wed Mar 3 22:15:07 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Mar  3 22:09:51 2010 +0100| [35a59f2d0f6a18fd2b80f9edbc5f0a258b770bd9] | committer: Laurent Aimar 

Fixed invalid var_SetBool in video_filter wrapper .

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

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

diff --git a/modules/video_filter/wrapper.c b/modules/video_filter/wrapper.c
index 1dec62f..0f45f51 100644
--- a/modules/video_filter/wrapper.c
+++ b/modules/video_filter/wrapper.c
@@ -490,7 +490,7 @@ static int MouseEvent( vlc_object_t *p_this, char const *psz_var,
     {
         var_SetInteger( p_vout, "mouse-button-down", nmouse.i_pressed );
         if( vlc_mouse_HasPressed( &omouse, &nmouse, MOUSE_BUTTON_LEFT ) )
-            var_SetBool( p_vout, "mouse-clicked", true );
+            var_SetCoords( p_vout, "mouse-clicked", nmouse.i_x, nmouse.i_y );
     }
     if( m.b_double_click )
     {



More information about the vlc-commits mailing list