diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-27 18:36:51 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-27 18:36:51 +0000 |
commit | 6765091bfac7782c0ef814f5983f4b92cccc3748 (patch) | |
tree | f9bca13607f89086a4a301d3189201ea4a3a0a1c /libvo/video_out.h | |
parent | 26d8e6a696bbce015966e7a3c69ebc14aa38f08b (diff) | |
download | mpv-6765091bfac7782c0ef814f5983f4b92cccc3748.tar.bz2 mpv-6765091bfac7782c0ef814f5983f4b92cccc3748.tar.xz |
Add infrastructure and test code to enable aspect scaling and panscan in windowed mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29566 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r-- | libvo/video_out.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h index f90123ddee..ae38970209 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -275,4 +275,9 @@ struct vo_rect { 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); +static inline int aspect_scaling(void) +{ + return vo_fs; +} + #endif /* MPLAYER_VIDEO_OUT_H */ |