From 4a8a46fafddfb4234fa99746c765e95d3a1ccd1d Mon Sep 17 00:00:00 2001 From: cehoyos Date: Tue, 17 Feb 2009 10:13:08 +0000 Subject: Fix compilation after last commit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28627 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/video_out.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/video_out.h') diff --git a/libvo/video_out.h b/libvo/video_out.h index bc63712826..61588f9efb 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -272,6 +272,6 @@ 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, struct vo_rect *crop); +void calc_src_dst_rects(int src_width, int src_height, struct vo_rect *src, struct vo_rect *dst, const struct vo_rect *crop); #endif /* MPLAYER_VIDEO_OUT_H */ -- cgit v1.2.3 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/video_out.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libvo/video_out.h') 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 */ -- cgit v1.2.3