Commit 6613969f authored by Joseph Tulou's avatar Joseph Tulou Committed by Jean-Baptiste Kempf

Cosmetic about i_zoom limitation (patch 3/3)

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6d17b907
...@@ -470,8 +470,8 @@ void vout_PlacePicture( const vout_thread_t *p_vout, ...@@ -470,8 +470,8 @@ void vout_PlacePicture( const vout_thread_t *p_vout,
{ {
int i_zoom = p_vout->i_zoom; int i_zoom = p_vout->i_zoom;
/* be realistic, scaling factor confined between .2 and 10. */ /* be realistic, scaling factor confined between .2 and 10. */
if( i_zoom > 10 * ZOOM_FP_FACTOR || i_zoom < ZOOM_FP_FACTOR / 5 ) if( i_zoom > 10 * ZOOM_FP_FACTOR ) i_zoom = 10 * ZOOM_FP_FACTOR;
i_zoom = ZOOM_FP_FACTOR; else if( i_zoom < ZOOM_FP_FACTOR / 5 ) i_zoom = ZOOM_FP_FACTOR / 5;
unsigned int i_original_width, i_original_height; unsigned int i_original_width, i_original_height;
......
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