[vlc-commits] MacOS: fix getVideoViewAtPositionX
Jean-Baptiste Kempf
git at videolan.org
Fri Dec 9 18:10:25 CET 2011
vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec 6 13:43:17 2011 +0100| [a57e8570cea27906c3053f46c349f07009602182] | committer: Jean-Baptiste Kempf
MacOS: fix getVideoViewAtPositionX
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 8bbb90cc4a94f645f4096a14af0b948ae8f90e4b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=a57e8570cea27906c3053f46c349f07009602182
---
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