diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-22 16:26:53 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-22 16:26:53 +0000 |
commit | 476e17edc6e6b139c42906da78b3fd7226d51c5e (patch) | |
tree | cedbed9e9a9e65fe06b26e17f8cd834e2ed7195b /libvo/vo_directx.c | |
parent | f4f839585062bca54b12b63b30e265e7e95d5986 (diff) | |
download | mpv-476e17edc6e6b139c42906da78b3fd7226d51c5e.tar.bz2 mpv-476e17edc6e6b139c42906da78b3fd7226d51c5e.tar.xz |
100l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13439 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r-- | libvo/vo_directx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index 1bfd1d24dc..6943902248 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -1160,16 +1160,16 @@ static uint32_t put_image(mp_image_t *mpi){ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t options, char *title, uint32_t format) { + RECT rd; vo_screenwidth = GetSystemMetrics(SM_CXSCREEN); vo_screenheight = GetSystemMetrics(SM_CYSCREEN); vo_fs = options & 0x01; - RECT rd; image_format = format; image_width = width; image_height = height; d_image_width = d_width; d_image_height = d_height; - nooverlay = 0; + if(format != primary_image_format)nooverlay = 0; aspect_save_orig(image_width,image_height); aspect_save_prescale(d_image_width,d_image_height); if(vidmode){ |