diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-08-12 13:54:21 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-08-12 13:54:21 +0000 |
commit | f8fb6933244e2e494052c840bdd7dd9d66ed8512 (patch) | |
tree | bf4034ff0f229b17ad0883f486a7c59510c787fe /src/xine-engine/vo_scale.c | |
parent | b09c95b2af9688e76963d351ebe8a06c8c2f119a (diff) | |
download | xine-lib-f8fb6933244e2e494052c840bdd7dd9d66ed8512.tar.gz xine-lib-f8fb6933244e2e494052c840bdd7dd9d66ed8512.tar.bz2 |
these tests are done more cenralized in video out now
CVS patchset: 5276
CVS date: 2003/08/12 13:54:21
Diffstat (limited to 'src/xine-engine/vo_scale.c')
-rw-r--r-- | src/xine-engine/vo_scale.c | 9 |
1 files changed, 2 insertions, 7 deletions
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; |