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
a1c03b9d
Commit
a1c03b9d
authored
Jul 01, 2015
by
rogerdpack
Committed by
Michael Niedermayer
Jul 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg_filter: log more information on failure to init simple filter graph
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
03b2b40f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
ffmpeg_filter.c
ffmpeg_filter.c
+21
-2
No files found.
ffmpeg_filter.c
View file @
a1c03b9d
...
...
@@ -947,8 +947,27 @@ int configure_filtergraph(FilterGraph *fg)
return
ret
;
if
(
simple
&&
(
!
inputs
||
inputs
->
next
||
!
outputs
||
outputs
->
next
))
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Simple filtergraph '%s' does not have "
"exactly one input and output.
\n
"
,
graph_desc
);
const
char
*
num_inputs
;
const
char
*
num_outputs
;
if
(
!
outputs
)
{
num_outputs
=
"0"
;
}
else
if
(
outputs
->
next
)
{
num_outputs
=
">1"
;
}
else
{
num_outputs
=
"1"
;
}
if
(
!
inputs
)
{
num_inputs
=
"0"
;
}
else
if
(
inputs
->
next
)
{
num_inputs
=
">1"
;
}
else
{
num_inputs
=
"1"
;
}
av_log
(
NULL
,
AV_LOG_ERROR
,
"Simple filtergraph '%s' was expected "
"to have exactly 1 input and 1 output."
" However, it had %s input(s) and %s output(s)."
" Please adjust, or use a complex filtergraph (-filter_complex) instead.
\n
"
,
graph_desc
,
num_inputs
,
num_outputs
);
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