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
91cae60e
Commit
91cae60e
authored
May 10, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/select: unbreak compatibility with older PICT_TYPE syntax
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
cbcc5cbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
f_select.c
libavfilter/f_select.c
+20
-0
No files found.
libavfilter/f_select.c
View file @
91cae60e
...
...
@@ -59,6 +59,13 @@ static const char *const var_names[] = {
"SI"
,
"SP"
,
"BI"
,
"PICT_TYPE_I"
,
"PICT_TYPE_P"
,
"PICT_TYPE_B"
,
"PICT_TYPE_S"
,
"PICT_TYPE_SI"
,
"PICT_TYPE_SP"
,
"PICT_TYPE_BI"
,
"interlace_type"
,
///< the frame interlace type
"PROGRESSIVE"
,
...
...
@@ -95,6 +102,13 @@ enum var_name {
VAR_PREV_SELECTED_T
,
VAR_PICT_TYPE
,
VAR_I
,
VAR_P
,
VAR_B
,
VAR_S
,
VAR_SI
,
VAR_SP
,
VAR_BI
,
VAR_PICT_TYPE_I
,
VAR_PICT_TYPE_P
,
VAR_PICT_TYPE_B
,
...
...
@@ -200,6 +214,12 @@ static int config_input(AVFilterLink *inlink)
select
->
var_values
[
VAR_START_PTS
]
=
NAN
;
select
->
var_values
[
VAR_START_T
]
=
NAN
;
select
->
var_values
[
VAR_I
]
=
AV_PICTURE_TYPE_I
;
select
->
var_values
[
VAR_P
]
=
AV_PICTURE_TYPE_P
;
select
->
var_values
[
VAR_B
]
=
AV_PICTURE_TYPE_B
;
select
->
var_values
[
VAR_SI
]
=
AV_PICTURE_TYPE_SI
;
select
->
var_values
[
VAR_SP
]
=
AV_PICTURE_TYPE_SP
;
select
->
var_values
[
VAR_BI
]
=
AV_PICTURE_TYPE_BI
;
select
->
var_values
[
VAR_PICT_TYPE_I
]
=
AV_PICTURE_TYPE_I
;
select
->
var_values
[
VAR_PICT_TYPE_P
]
=
AV_PICTURE_TYPE_P
;
select
->
var_values
[
VAR_PICT_TYPE_B
]
=
AV_PICTURE_TYPE_B
;
...
...
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