Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
79aa9d8a
Commit
79aa9d8a
authored
Nov 12, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_blend: ignore SAR from all inputs
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
19d2108a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
vf_blend.c
libavfilter/vf_blend.c
+4
-11
No files found.
libavfilter/vf_blend.c
View file @
79aa9d8a
...
...
@@ -524,19 +524,12 @@ static int config_output(AVFilterLink *outlink)
av_log
(
ctx
,
AV_LOG_ERROR
,
"inputs must be of same pixel format
\n
"
);
return
AVERROR
(
EINVAL
);
}
if
(
toplink
->
w
!=
bottomlink
->
w
||
toplink
->
h
!=
bottomlink
->
h
||
toplink
->
sample_aspect_ratio
.
num
!=
bottomlink
->
sample_aspect_ratio
.
num
||
toplink
->
sample_aspect_ratio
.
den
!=
bottomlink
->
sample_aspect_ratio
.
den
)
{
if
(
toplink
->
w
!=
bottomlink
->
w
||
toplink
->
h
!=
bottomlink
->
h
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"First input link %s parameters "
"(size %dx%d
, SAR %d:%d
) do not match the corresponding "
"second input link %s parameters (
%dx%d, SAR %d:
%d)
\n
"
,
"(size %dx%d) do not match the corresponding "
"second input link %s parameters (
size %dx
%d)
\n
"
,
ctx
->
input_pads
[
TOP
].
name
,
toplink
->
w
,
toplink
->
h
,
toplink
->
sample_aspect_ratio
.
num
,
toplink
->
sample_aspect_ratio
.
den
,
ctx
->
input_pads
[
BOTTOM
].
name
,
bottomlink
->
w
,
bottomlink
->
h
,
bottomlink
->
sample_aspect_ratio
.
num
,
bottomlink
->
sample_aspect_ratio
.
den
);
ctx
->
input_pads
[
BOTTOM
].
name
,
bottomlink
->
w
,
bottomlink
->
h
);
return
AVERROR
(
EINVAL
);
}
}
...
...
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