summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-10 10:22:29 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-10 10:22:29 +0000
commit384cb8f2a38a44ae25b2eac6f58e6d7509137aae (patch)
tree1ca9891b3dcb598308175a2dd80db23d607dfa70 /libvo
parent9335d08615e3193716782878e64f5b4687fc3926 (diff)
downloadmpv-384cb8f2a38a44ae25b2eac6f58e6d7509137aae.tar.bz2
mpv-384cb8f2a38a44ae25b2eac6f58e6d7509137aae.tar.xz
Fix window size bug when starting with -fs and returning
to windowed mode git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18992 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/w32_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index 48db3c9130..5261032809 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -301,8 +301,8 @@ int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) {
o_dwidth = width;
o_dheight = height;
- prev_width = width;
- prev_height = height;
+ prev_width = vo_dwidth = width;
+ prev_height = vo_dheight = height;
prev_x = vo_dx;
prev_y = vo_dy;