Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
cb0fb4d0
Commit
cb0fb4d0
authored
Mar 24, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/fieldorder: use standard options parsing.
parent
a733481d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
vf_fieldorder.c
libavfilter/vf_fieldorder.c
+3
-8
No files found.
libavfilter/vf_fieldorder.c
View file @
cb0fb4d0
...
...
@@ -60,14 +60,6 @@ AVFILTER_DEFINE_CLASS(fieldorder);
static
av_cold
int
init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
{
FieldOrderContext
*
fieldorder
=
ctx
->
priv
;
int
ret
;
static
const
char
*
shorthand
[]
=
{
"order"
,
NULL
};
fieldorder
->
class
=
&
fieldorder_class
;
av_opt_set_defaults
(
fieldorder
);
if
((
ret
=
av_opt_set_from_string
(
fieldorder
,
args
,
shorthand
,
"="
,
":"
))
<
0
)
return
ret
;
fieldorder
->
dst_tff
=
fieldorder
->
order
==
ORDER_TFF
;
av_log
(
ctx
,
AV_LOG_VERBOSE
,
"tff:%d
\n
"
,
fieldorder
->
dst_tff
);
...
...
@@ -204,6 +196,8 @@ static const AVFilterPad avfilter_vf_fieldorder_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
"order"
,
NULL
};
AVFilter
avfilter_vf_fieldorder
=
{
.
name
=
"fieldorder"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Set the field order."
),
...
...
@@ -213,4 +207,5 @@ AVFilter avfilter_vf_fieldorder = {
.
inputs
=
avfilter_vf_fieldorder_inputs
,
.
outputs
=
avfilter_vf_fieldorder_outputs
,
.
priv_class
=
&
fieldorder_class
,
.
shorthand
=
shorthand
,
};
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