From f8fb6933244e2e494052c840bdd7dd9d66ed8512 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Tue, 12 Aug 2003 13:54:21 +0000 Subject: these tests are done more cenralized in video out now CVS patchset: 5276 CVS date: 2003/08/12 13:54:21 --- src/xine-engine/vo_scale.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/xine-engine/vo_scale.c') diff --git a/src/xine-engine/vo_scale.c b/src/xine-engine/vo_scale.c index d113439eb..ba1a0d0a1 100644 --- a/src/xine-engine/vo_scale.c +++ b/src/xine-engine/vo_scale.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: vo_scale.c,v 1.22 2003/08/04 03:47:11 miguelfreitas Exp $ + * $Id: vo_scale.c,v 1.23 2003/08/12 13:54:21 mroi Exp $ * * Contains common code to calculate video scaling parameters. * In short, it will map frame dimensions to screen/window size. @@ -60,12 +60,7 @@ void vo_scale_compute_ideal_size (vo_scale_t *this) { switch (this->user_ratio) { case XINE_VO_ASPECT_AUTO: - if (this->delivered_ratio <= 0.0) { - /* no way, that's crazy */ - desired_ratio = image_ratio; - } else { - desired_ratio = this->delivered_ratio; - } + desired_ratio = this->delivered_ratio; break; case XINE_VO_ASPECT_ANAMORPHIC: desired_ratio = 16.0 / 9.0; -- cgit v1.2.3