summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 16:36:39 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 16:36:39 +0000
commiteb4f31f73b05ae7c7f63bf182a5540bdec5da7fe (patch)
tree67e6b7ec8b6af0d4d80bd82c4ead2d8f41af801b /libvo
parent08367541bcaeeab89a2d2910001b1318e79dab69 (diff)
downloadmpv-eb4f31f73b05ae7c7f63bf182a5540bdec5da7fe.tar.bz2
mpv-eb4f31f73b05ae7c7f63bf182a5540bdec5da7fe.tar.xz
Remove vo_xv code that has been under #if 0 since ages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27916 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 93b14568b0..684d543c72 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -352,10 +352,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
current_buf = 0;
current_ip_buf = 0;
-#if 0
- set_gamma_correction();
-#endif
-
aspect(&vo_dwidth, &vo_dheight, A_NOZOOM);
if ((flags & VOFLAG_FULLSCREEN) && WinID <= 0) vo_fs = 1;
calc_drwXY(&drwX, &drwY);
@@ -367,31 +363,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
vo_dwidth + vo_panscan_x - 1,
vo_dheight + vo_panscan_y - 1);
-
-#if 0
-#ifdef HAVE_SHM
- if (Shmem_Flag)
- {
- XvShmPutImage(mDisplay, xv_port, vo_window, vo_gc,
- xvimage[current_buf], 0, 0, image_width,
- image_height, drwX, drwY, 1, 1, False);
- XvShmPutImage(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), False);
- } else
-#endif
- {
- 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);