From 01ef7e45790e1f0dd2277f73c583c9a503b2b6bd Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 17 Feb 2009 11:59:49 +0000 Subject: Extend calc_src_dst_rects to also calculate the border values needed for correctly placed dvdnav highlights, and fix direct3d and vdpau accordingly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28633 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/vo_xv.c') diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index ddde21a402..47174d41a0 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -161,7 +161,7 @@ static void deallocate_xvimage(int foo); static void resize(void) { - calc_src_dst_rects(image_width, image_height, &src_rect, &dst_rect, NULL); + calc_src_dst_rects(image_width, image_height, &src_rect, &dst_rect, NULL, NULL); vo_x11_clearwindow_part(mDisplay, vo_window, dst_rect.width, dst_rect.height, 1); vo_xv_draw_colorkey(dst_rect.left, dst_rect.top, dst_rect.width, dst_rect.height); } -- cgit v1.2.3