diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 11:59:49 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 11:59:49 +0000 |
commit | 01ef7e45790e1f0dd2277f73c583c9a503b2b6bd (patch) | |
tree | e513cf8669a9f80b1a9e77fe4e41b449d6f5a1ac /libvo/vo_xv.c | |
parent | a845504a5ee6fd7e545f028cf84e1e503da574c1 (diff) | |
download | mpv-01ef7e45790e1f0dd2277f73c583c9a503b2b6bd.tar.bz2 mpv-01ef7e45790e1f0dd2277f73c583c9a503b2b6bd.tar.xz |
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
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r-- | libvo/vo_xv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |