summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 11:59:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 11:59:49 +0000
commit01ef7e45790e1f0dd2277f73c583c9a503b2b6bd (patch)
treee513cf8669a9f80b1a9e77fe4e41b449d6f5a1ac /libvo/video_out.h
parenta845504a5ee6fd7e545f028cf84e1e503da574c1 (diff)
downloadmpv-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/video_out.h')
-rw-r--r--libvo/video_out.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h
index 61588f9efb..7c56231d41 100644
--- a/libvo/video_out.h
+++ b/libvo/video_out.h
@@ -272,6 +272,7 @@ int lookup_keymap_table(const struct keymap *map, int key);
struct vo_rect {
int left, right, top, bottom, width, height;
};
-void calc_src_dst_rects(int src_width, int src_height, struct vo_rect *src, struct vo_rect *dst, const struct vo_rect *crop);
+void calc_src_dst_rects(int src_width, int src_height, struct vo_rect *src, struct vo_rect *dst,
+ struct vo_rect *borders, const struct vo_rect *crop);
#endif /* MPLAYER_VIDEO_OUT_H */