Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
6613969f
Commit
6613969f
authored
Feb 13, 2009
by
Joseph Tulou
Committed by
Jean-Baptiste Kempf
Feb 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic about i_zoom limitation (patch 3/3)
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
6d17b907
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+2
-2
No files found.
src/video_output/vout_pictures.c
View file @
6613969f
...
...
@@ -470,8 +470,8 @@ void vout_PlacePicture( const vout_thread_t *p_vout,
{
int
i_zoom
=
p_vout
->
i_zoom
;
/* be realistic, scaling factor confined between .2 and 10. */
if
(
i_zoom
>
10
*
ZOOM_FP_FACTOR
||
i_zoom
<
ZOOM_FP_FACTOR
/
5
)
i_zoom
=
ZOOM_FP_FACTOR
;
if
(
i_zoom
>
10
*
ZOOM_FP_FACTOR
)
i_zoom
=
10
*
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment