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
301cee61
Commit
301cee61
authored
Jan 14, 2019
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg_opt: Print a warning if more than one -vf/-af option was specified.
Fixes ticket #4184.
parent
5d958f09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ffmpeg_opt.c
fftools/ffmpeg_opt.c
+4
-0
No files found.
fftools/ffmpeg_opt.c
View file @
301cee61
...
...
@@ -1681,6 +1681,8 @@ static OutputStream *new_video_stream(OptionsContext *o, AVFormatContext *oc, in
MATCH_PER_STREAM_OPT
(
filter_scripts
,
str
,
ost
->
filters_script
,
oc
,
st
);
MATCH_PER_STREAM_OPT
(
filters
,
str
,
ost
->
filters
,
oc
,
st
);
if
(
o
->
nb_filters
>
1
)
av_log
(
NULL
,
AV_LOG_ERROR
,
"Only '-vf %s' read, ignoring remaining -vf options: Use ',' to separate filters
\n
"
,
ost
->
filters
);
if
(
!
ost
->
stream_copy
)
{
const
char
*
p
=
NULL
;
...
...
@@ -1862,6 +1864,8 @@ static OutputStream *new_audio_stream(OptionsContext *o, AVFormatContext *oc, in
MATCH_PER_STREAM_OPT
(
filter_scripts
,
str
,
ost
->
filters_script
,
oc
,
st
);
MATCH_PER_STREAM_OPT
(
filters
,
str
,
ost
->
filters
,
oc
,
st
);
if
(
o
->
nb_filters
>
1
)
av_log
(
NULL
,
AV_LOG_ERROR
,
"Only '-af %s' read, ignoring remaining -af options: Use ',' to separate filters
\n
"
,
ost
->
filters
);
if
(
!
ost
->
stream_copy
)
{
char
*
sample_fmt
=
NULL
;
...
...
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