changeset 35126:1278ec134f6b

Enable aspect scaling even in windowed mode when -keepaspect is enabled. This is probably not the best and final solution, but it makes at least -vo gl work nicer on OSX and with Linux window managers that do not support enforcing aspect.
author reimar
date Fri, 28 Sep 2012 16:46:48 +0000
parents 556d87f557ed
children dd8ebdd08791
files libvo/video_out.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/video_out.h	Thu Sep 27 20:59:24 2012 +0000
+++ b/libvo/video_out.h	Fri Sep 28 16:46:48 2012 +0000
@@ -291,7 +291,7 @@
 
 static inline int aspect_scaling(void)
 {
-  return vo_fs;
+  return vo_fs || vo_keepaspect;
 }
 
 #endif /* MPLAYER_VIDEO_OUT_H */