changeset 18384:29a25bcb3d99

Make sure black borders are drawn when switching videos with -fixed-vo. Alexander Strasser at LinuxTag
author reimar
date Thu, 04 May 2006 08:45:34 +0000
parents c28594ea6520
children 4cdb4082d899
files libvo/vo_xv.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Thu May 04 03:00:39 2006 +0000
+++ b/libvo/vo_xv.c	Thu May 04 08:45:34 2006 +0000
@@ -436,6 +436,12 @@
     }
 
     panscan_calc();
+    
+    vo_xv_draw_colorkey(drwX - (vo_panscan_x >> 1),
+                        drwY - (vo_panscan_y >> 1),
+                        vo_dwidth + vo_panscan_x - 1,
+                        vo_dheight + vo_panscan_y - 1);
+
 
 #if 0
 #ifdef HAVE_SHM