1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-18 17:40:30 +00:00

Make sure black borders are drawn when switching videos with -fixed-vo.

Alexander Strasser at LinuxTag


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18385 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-05-04 08:45:34 +00:00
parent f804def5c7
commit 1571808a1a

View File

@ -436,6 +436,12 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
}
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