changeset 35127:dd8ebdd08791

Use aspect_scaling() function also for vo_corevideo.
author reimar
date Fri, 28 Sep 2012 16:49:37 +0000
parents 1278ec134f6b
children 9ca71ecd9f48
files libvo/vo_corevideo.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_corevideo.m	Fri Sep 28 16:46:48 2012 +0000
+++ b/libvo/vo_corevideo.m	Fri Sep 28 16:49:37 2012 +0000
@@ -493,7 +493,7 @@
 	d_width  = vo_dwidth;
 	d_height = vo_dheight;
 	//set texture frame
-	if(vo_keepaspect)
+	if(aspect_scaling())
 	{
 		aspect(&d_width, &d_height, A_WINZOOM);
 	}