Commit a57e8570 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MacOS: fix getVideoViewAtPositionX

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 8bbb90cc4a94f645f4096a14af0b948ae8f90e4b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 85cb638c
...@@ -1581,10 +1581,10 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -1581,10 +1581,10 @@ unsigned int CocoaKeyToVLC( unichar i_key )
int i_y = (int)videoRect.origin.y; int i_y = (int)videoRect.origin.y;
unsigned int i_width = (int)videoRect.size.width; unsigned int i_width = (int)videoRect.size.width;
unsigned int i_height = (int)videoRect.size.height; unsigned int i_height = (int)videoRect.size.height;
pi_x = (int *)i_x; pi_x = &i_x;
pi_y = (int *)i_y; pi_y = &i_y;
pi_width = (unsigned int*)i_width; pi_width = &i_width;
pi_height = (unsigned int*)i_height; 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 ); msg_Dbg( VLCIntf, "returning videoview with x=%i, y=%i, width=%i, height=%i", i_x, i_y, i_width, i_height );
return videoView; return videoView;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment