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
0f233f49
Commit
0f233f49
authored
Sep 07, 2012
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: pass/calculate sar-info, should fix #7437
parent
b6688f49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
modules/video_filter/croppadd.c
modules/video_filter/croppadd.c
+3
-0
modules/video_filter/swscale.c
modules/video_filter/swscale.c
+3
-0
No files found.
modules/video_filter/croppadd.c
View file @
0f233f49
...
@@ -190,6 +190,9 @@ static int OpenFilter( vlc_object_t *p_this )
...
@@ -190,6 +190,9 @@ static int OpenFilter( vlc_object_t *p_this )
p_filter
->
fmt_out
.
video
.
i_width
,
p_filter
->
fmt_out
.
video
.
i_width
,
p_filter
->
fmt_out
.
video
.
i_height
);
p_filter
->
fmt_out
.
video
.
i_height
);
p_filter
->
fmt_out
.
video
.
i_sar_num
=
p_filter
->
fmt_in
.
video
.
i_sar_num
*
p_filter
->
fmt_out
.
video
.
i_visible_height
;
p_filter
->
fmt_out
.
video
.
i_sar_den
=
p_filter
->
fmt_in
.
video
.
i_sar_den
*
p_filter
->
fmt_out
.
video
.
i_visible_width
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
modules/video_filter/swscale.c
View file @
0f233f49
...
@@ -207,6 +207,9 @@ static int OpenScaler( vlc_object_t *p_this )
...
@@ -207,6 +207,9 @@ static int OpenScaler( vlc_object_t *p_this )
(
char
*
)
&
p_filter
->
fmt_out
.
video
.
i_chroma
,
(
char
*
)
&
p_filter
->
fmt_out
.
video
.
i_chroma
,
ppsz_mode_descriptions
[
i_sws_mode
]
);
ppsz_mode_descriptions
[
i_sws_mode
]
);
p_filter
->
fmt_out
.
video
.
i_sar_num
=
p_filter
->
fmt_in
.
video
.
i_sar_num
;
p_filter
->
fmt_out
.
video
.
i_sar_den
=
p_filter
->
fmt_in
.
video
.
i_sar_den
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
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