Commit 8bbb90cc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MacOS: fix getVideoViewAtPositionX

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0f3ee76a
......@@ -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;
}
......
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