summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-09 21:35:27 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-09 21:35:27 +0000
commit3e718780f2dd3375f272c6e28becedd5f792f192 (patch)
tree276456cfda937a1ded517bb7f01e91c13897b130 /libvo
parent7ff83a71810233276517bc497e93ac15267bc830 (diff)
downloadmpv-3e718780f2dd3375f272c6e28becedd5f792f192.tar.bz2
mpv-3e718780f2dd3375f272c6e28becedd5f792f192.tar.xz
reversed small part of the r1.135 commit, it broke -fs (random black screen)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9382 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index fdc25eda29..6c46cfd8c4 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -450,7 +450,9 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
}
panscan_calc();
+
XClearWindow(mDisplay, vo_window);
+#if 0
#ifdef HAVE_SHM
if ( Shmem_Flag )
{
@@ -463,6 +465,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
XvPutImage(mDisplay, xv_port, vo_window, vo_gc, xvimage[current_buf], 0, 0, image_width, image_height, drwX, drwY, 1, 1);
XvPutImage(mDisplay, xv_port, vo_window, vo_gc, xvimage[current_buf], 0, 0, image_width, image_height, drwX,drwY,vo_dwidth,(vo_fs?vo_dheight - 1:vo_dheight));
}
+#endif
mp_msg(MSGT_VO,MSGL_V, "[xv] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY,vo_dwidth,vo_dheight );