Commit 9cef7fa8 authored by Benjamin Pracht's avatar Benjamin Pracht

* Hopefully fixes --aspect-ratio computation when giving float values as argument

parent 759f7f78
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment