aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar Uoti Urpala <uau@symbol.nonexistent.invalid>2008-04-04 03:53:11 +0300
committerGravatar Uoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:04 +0300
commit4176d5b183483cef8d4dd480f47923ea138ee7b2 (patch)
tree4c713e8aaedf97845ad391a5740a9f39a2c6e6b9 /libvo
parent8716df2a41f6ff05f59577a0433401ea141226f3 (diff)
vo_xv.c: Remove #if 0 code
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index bdb4d6bc19..511602dfc4 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -254,6 +254,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
hint.height = modeline_height;
aspect_save_screenres(modeline_width, modeline_height);
} else
+#warning This "else" makes no sense
#endif
hint.flags = PPosition | PSize /* | PBaseSize */ ;
hint.base_width = hint.width;
@@ -367,31 +368,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);