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
ce9bd303
Commit
ce9bd303
authored
Apr 01, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: fix plain -profile support
Fixes Ticket387 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6a052e64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ffmpeg.c
ffmpeg.c
+10
-0
No files found.
ffmpeg.c
View file @
ce9bd303
...
...
@@ -5009,6 +5009,15 @@ static int opt_qscale(OptionsContext *o, const char *opt, const char *arg)
return
ret
;
}
static
int
opt_profile
(
OptionsContext
*
o
,
const
char
*
opt
,
const
char
*
arg
)
{
if
(
!
strcmp
(
opt
,
"profile"
)){
av_log
(
NULL
,
AV_LOG_WARNING
,
"Please use -profile:a or -profile:v, -profile is ambiguous
\n
"
);
return
parse_option
(
o
,
"profile:v"
,
arg
,
options
);
}
return
opt_default
(
opt
,
arg
);
}
static
int
opt_video_filters
(
OptionsContext
*
o
,
const
char
*
opt
,
const
char
*
arg
)
{
return
parse_option
(
o
,
"filter:v"
,
arg
,
options
);
...
...
@@ -5087,6 +5096,7 @@ static const OptionDef options[] = {
{
"tag"
,
OPT_STRING
|
HAS_ARG
|
OPT_SPEC
,
{.
off
=
OFFSET
(
codec_tags
)},
"force codec tag/fourcc"
,
"fourcc/tag"
},
{
"q"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_DOUBLE
|
OPT_SPEC
,
{.
off
=
OFFSET
(
qscale
)},
"use fixed quality scale (VBR)"
,
"q"
},
{
"qscale"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_FUNC2
,
{(
void
*
)
opt_qscale
},
"use fixed quality scale (VBR)"
,
"q"
},
{
"profile"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_FUNC2
,
{(
void
*
)
opt_profile
},
"set profile"
,
"profile"
},
#if CONFIG_AVFILTER
{
"filter"
,
HAS_ARG
|
OPT_STRING
|
OPT_SPEC
,
{.
off
=
OFFSET
(
filters
)},
"set stream filterchain"
,
"filter_list"
},
#endif
...
...
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