mirror of
https://github.com/mpv-player/mpv
synced 2025-02-25 17:58:27 +00:00
Fixed resize bug.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4195 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
37e0db5ed1
commit
74f5cc0d39
@ -74,6 +74,10 @@ static void resize(int x, int y)
|
||||
if ((window_x != drwcX) || (window_y != drwcY) ||
|
||||
(window_width != drwWidth) || (window_height != drwHeight))
|
||||
{
|
||||
window_x = drwcX;
|
||||
window_y = drwcY;
|
||||
window_width = drwWidth;
|
||||
window_height = drwHeight;
|
||||
/* FIXME: implement runtime resize/move if possible, this way is very ugly! */
|
||||
vidix_term();
|
||||
vidix_preinit(vidix_name, &video_out_xvidix);
|
||||
@ -90,11 +94,6 @@ static void resize(int x, int y)
|
||||
}
|
||||
}
|
||||
|
||||
window_x = drwcX;
|
||||
window_y = drwcY;
|
||||
window_width = drwWidth;
|
||||
window_height = drwHeight;
|
||||
|
||||
mp_msg(MSGT_VO, MSGL_INFO, "[xvidix] window properties: pos: %dx%d, size: %dx%d\n",
|
||||
window_x, window_y, window_width, window_height);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user