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
7c11c216
Commit
7c11c216
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/thumbnail: switch to an AVOptions-based system.
parent
7e99ccf5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
filters.texi
doc/filters.texi
+1
-4
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_thumbnail.c
libavfilter/vf_thumbnail.c
+0
-3
No files found.
doc/filters.texi
View file @
7c11c216
...
...
@@ -5392,10 +5392,7 @@ Swap U & V plane.
@section thumbnail
Select the most representative frame in a given sequence of consecutive frames.
The filter accepts parameters as a list of @var{key}=@var{value}
pairs, separated by ":". If the key of the first options is omitted,
the arguments are interpreted according to the syntax
thumbnail[=@var{n}].
The filter accepts the following options:
@table @option
@item n
...
...
libavfilter/avfilter.c
View file @
7c11c216
...
...
@@ -681,6 +681,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"format"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"noformat"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"resample"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"thumbnail"
)
||
// !strcmp(filter->filter->name, "scale" ) ||
0
;
...
...
libavfilter/vf_thumbnail.c
View file @
7c11c216
...
...
@@ -227,8 +227,6 @@ static const AVFilterPad thumbnail_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
"n"
,
NULL
};
AVFilter
avfilter_vf_thumbnail
=
{
.
name
=
"thumbnail"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Select the most representative frame in a given sequence of consecutive frames."
),
...
...
@@ -239,5 +237,4 @@ AVFilter avfilter_vf_thumbnail = {
.
inputs
=
thumbnail_inputs
,
.
outputs
=
thumbnail_outputs
,
.
priv_class
=
&
thumbnail_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