# HG changeset patch # User reimar # Date 1146732334 0 # Node ID 29a25bcb3d99a8f92c4d90af0f02a7ebc03dd7a8 # Parent c28594ea652006e389319b3392f5bff2d5a36b0b Make sure black borders are drawn when switching videos with -fixed-vo. Alexander Strasser at LinuxTag diff -r c28594ea6520 -r 29a25bcb3d99 libvo/vo_xv.c --- 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