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
4a30277a
Commit
4a30277a
authored
Nov 15, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/options: set timecode_frame_start to -1 as option default
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki2@gmail.com
>
parent
c544ffd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
options.c
libavcodec/options.c
+0
-1
options_table.h
libavcodec/options_table.h
+1
-1
No files found.
libavcodec/options.c
View file @
4a30277a
...
...
@@ -115,7 +115,6 @@ int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec)
s
->
sample_aspect_ratio
=
(
AVRational
){
0
,
1
};
s
->
pix_fmt
=
AV_PIX_FMT_NONE
;
s
->
sample_fmt
=
AV_SAMPLE_FMT_NONE
;
s
->
timecode_frame_start
=
-
1
;
s
->
reordered_opaque
=
AV_NOPTS_VALUE
;
if
(
codec
&&
codec
->
priv_data_size
){
...
...
libavcodec/options_table.h
View file @
4a30277a
...
...
@@ -398,7 +398,7 @@ static const AVOption avcodec_options[] = {
{
"compression_level"
,
NULL
,
OFFSET
(
compression_level
),
AV_OPT_TYPE_INT
,
{.
i64
=
FF_COMPRESSION_DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
A
|
E
},
{
"min_prediction_order"
,
NULL
,
OFFSET
(
min_prediction_order
),
AV_OPT_TYPE_INT
,
{.
i64
=
-
1
},
INT_MIN
,
INT_MAX
,
A
|
E
},
{
"max_prediction_order"
,
NULL
,
OFFSET
(
max_prediction_order
),
AV_OPT_TYPE_INT
,
{.
i64
=
-
1
},
INT_MIN
,
INT_MAX
,
A
|
E
},
{
"timecode_frame_start"
,
"GOP timecode frame start number, in non-drop-frame format"
,
OFFSET
(
timecode_frame_start
),
AV_OPT_TYPE_INT64
,
{.
i64
=
0
},
-
1
,
INT64_MAX
,
V
|
E
},
{
"timecode_frame_start"
,
"GOP timecode frame start number, in non-drop-frame format"
,
OFFSET
(
timecode_frame_start
),
AV_OPT_TYPE_INT64
,
{.
i64
=
-
1
},
-
1
,
INT64_MAX
,
V
|
E
},
#if FF_API_REQUEST_CHANNELS
{
"request_channels"
,
"set desired number of audio channels"
,
OFFSET
(
request_channels
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
0
,
INT_MAX
,
A
|
D
},
#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