changeset 36296:1b84e470698c

Adjust detection of original aspect ratio after r36391.
author ib
date Thu, 01 Aug 2013 21:20:14 +0000
parents 0bd0297b073a
children 6fc430e33c76
files gui/dialog/menu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/menu.c	Thu Aug 01 21:18:14 2013 +0000
+++ b/gui/dialog/menu.c	Thu Aug 01 21:20:14 2013 +0000
@@ -584,7 +584,7 @@
    {
     int a11 = False, a169 = False, a43 = False, a235 = False;
 
-    if (movie_aspect == -1 || FFABS(movie_aspect - (float) guiInfo.sh_video->disp_w / guiInfo.sh_video->disp_h) <= 0.01f) a11 = True;
+    if (FFABS(guiInfo.sh_video->aspect - guiInfo.sh_video->original_aspect) <= 0.01f) a11 = True;
     else
      {
        a169 = (FFABS(movie_aspect - 16.0f / 9.0f) <= 0.01f);