Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a4d43caa
Commit
a4d43caa
authored
Mar 04, 2014
by
Felix Abecassis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
magnify: correctly set i_visible_width/i_visible_height after dimension scaling
Fix #10744
parent
47a9e86e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/video_filter/magnify.c
modules/video_filter/magnify.c
+4
-4
No files found.
modules/video_filter/magnify.c
View file @
a4d43caa
...
...
@@ -190,8 +190,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
/* */
fmt_in
=
p_filter
->
fmt_in
.
video
;
fmt_in
.
i_width
=
(
fmt_in
.
i_width
*
ZOOM_FACTOR
/
o_zoom
)
&
~
1
;
fmt_in
.
i_height
=
(
fmt_in
.
i_height
*
ZOOM_FACTOR
/
o_zoom
)
&
~
1
;
fmt_in
.
i_width
=
fmt_in
.
i_visible_width
=
(
fmt_in
.
i_width
*
ZOOM_FACTOR
/
o_zoom
)
&
~
1
;
fmt_in
.
i_height
=
fmt_in
.
i_visible_height
=
(
fmt_in
.
i_height
*
ZOOM_FACTOR
/
o_zoom
)
&
~
1
;
/* */
fmt_out
=
p_filter
->
fmt_out
.
video
;
...
...
@@ -215,8 +215,8 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
/* image visualization */
fmt_out
=
p_filter
->
fmt_out
.
video
;
fmt_out
.
i_width
=
(
fmt_out
.
i_width
/
VIS_ZOOM
)
&
~
1
;
fmt_out
.
i_height
=
(
fmt_out
.
i_height
/
VIS_ZOOM
)
&
~
1
;
fmt_out
.
i_width
=
fmt_out
.
i_visible_width
=
(
fmt_out
.
i_width
/
VIS_ZOOM
)
&
~
1
;
fmt_out
.
i_height
=
fmt_out
.
i_visible_height
=
(
fmt_out
.
i_height
/
VIS_ZOOM
)
&
~
1
;
p_converted
=
image_Convert
(
p_sys
->
p_image
,
p_pic
,
&
p_pic
->
format
,
&
fmt_out
);
...
...
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