]> git.sesse.net Git - vlc/commitdiff
* Hopefully fixes --aspect-ratio computation when giving float values as argument
authorBenjamin Pracht <bigben@videolan.org>
Sun, 1 May 2005 23:04:18 +0000 (23:04 +0000)
committerBenjamin Pracht <bigben@videolan.org>
Sun, 1 May 2005 23:04:18 +0000 (23:04 +0000)
src/video_output/video_output.c

index 2aba8a65c07f9072139941a27983b0b39758438c..a944b38ecf43cb2b9e4505bec9e7a561c53c3283 100644 (file)
@@ -332,9 +332,8 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
             }
             else
             {
-                i_new_aspect = i_width * VOUT_ASPECT_FACTOR
-                                       * atof( val.psz_string )
-                                       / i_height;
+                i_new_aspect = VOUT_ASPECT_FACTOR
+                                       * atof( val.psz_string );
             }
 
             free( val.psz_string );