[vlc-commits] MacOS: fix getVideoViewAtPositionX
Jean-Baptiste Kempf
git at videolan.org
Fri Dec 9 14:45:57 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec 6 13:43:17 2011 +0100| [8bbb90cc4a94f645f4096a14af0b948ae8f90e4b] | committer: Jean-Baptiste Kempf
MacOS: fix getVideoViewAtPositionX
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8bbb90cc4a94f645f4096a14af0b948ae8f90e4b
---
modules/gui/macosx/intf.m | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 03a6e1e..ea90bd7 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1581,10 +1581,10 @@ unsigned int CocoaKeyToVLC( unichar i_key )
int i_y = (int)videoRect.origin.y;
unsigned int i_width = (int)videoRect.size.width;
unsigned int i_height = (int)videoRect.size.height;
- pi_x = (int *)i_x;
- pi_y = (int *)i_y;
- pi_width = (unsigned int*)i_width;
- pi_height = (unsigned int*)i_height;
+ pi_x = &i_x;
+ pi_y = &i_y;
+ pi_width = &i_width;
+ pi_height = &i_height;
msg_Dbg( VLCIntf, "returning videoview with x=%i, y=%i, width=%i, height=%i", i_x, i_y, i_width, i_height );
return videoView;
}
More information about the vlc-commits
mailing list