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
df5f9496
Commit
df5f9496
authored
Dec 14, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/segment: add missing flags to segmenter option constants
parent
6ca24655
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
segment.c
libavformat/segment.c
+7
-5
No files found.
libavformat/segment.c
View file @
df5f9496
...
@@ -567,12 +567,14 @@ static const AVOption options[] = {
...
@@ -567,12 +567,14 @@ static const AVOption options[] = {
{
"live"
,
"enable live-friendly list generation (useful for HLS)"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SEGMENT_LIST_FLAG_LIVE
},
INT_MIN
,
INT_MAX
,
E
,
"list_flags"
},
{
"live"
,
"enable live-friendly list generation (useful for HLS)"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SEGMENT_LIST_FLAG_LIVE
},
INT_MIN
,
INT_MAX
,
E
,
"list_flags"
},
{
"segment_list_size"
,
"set the maximum number of playlist entries"
,
OFFSET
(
list_size
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
INT_MAX
,
E
},
{
"segment_list_size"
,
"set the maximum number of playlist entries"
,
OFFSET
(
list_size
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
INT_MAX
,
E
},
{
"segment_list_type"
,
"set the segment list type"
,
OFFSET
(
list_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
LIST_TYPE_UNDEFINED
},
-
1
,
LIST_TYPE_NB
-
1
,
E
,
"list_type"
},
{
"segment_list_type"
,
"set the segment list type"
,
OFFSET
(
list_type
),
AV_OPT_TYPE_INT
,
{.
i64
=
LIST_TYPE_UNDEFINED
},
-
1
,
LIST_TYPE_NB
-
1
,
E
,
"list_type"
},
{
"flat"
,
"flat format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_FLAT
},
INT_MIN
,
INT_MAX
,
0
,
"list_type"
},
{
"flat"
,
"flat format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_FLAT
},
INT_MIN
,
INT_MAX
,
E
,
"list_type"
},
{
"csv"
,
"csv format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_CSV
},
INT_MIN
,
INT_MAX
,
0
,
"list_type"
},
{
"csv"
,
"csv format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_CSV
},
INT_MIN
,
INT_MAX
,
E
,
"list_type"
},
{
"ext"
,
"extended format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_EXT
},
INT_MIN
,
INT_MAX
,
0
,
"list_type"
},
{
"ext"
,
"extended format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_EXT
},
INT_MIN
,
INT_MAX
,
E
,
"list_type"
},
{
"m3u8"
,
"M3U8 format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_M3U8
},
INT_MIN
,
INT_MAX
,
0
,
"list_type"
},
{
"m3u8"
,
"M3U8 format"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_M3U8
},
INT_MIN
,
INT_MAX
,
E
,
"list_type"
},
{
"hls"
,
"Apple HTTP Live Streaming compatible"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_M3U8
},
INT_MIN
,
INT_MAX
,
0
,
"list_type"
},
{
"hls"
,
"Apple HTTP Live Streaming compatible"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
LIST_TYPE_M3U8
},
INT_MIN
,
INT_MAX
,
E
,
"list_type"
},
{
"segment_time"
,
"set segment duration"
,
OFFSET
(
time_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
E
},
{
"segment_time"
,
"set segment duration"
,
OFFSET
(
time_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
E
},
{
"segment_time_delta"
,
"set approximation value used for the segment times"
,
OFFSET
(
time_delta_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
"0"
},
0
,
0
,
E
},
{
"segment_time_delta"
,
"set approximation value used for the segment times"
,
OFFSET
(
time_delta_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
"0"
},
0
,
0
,
E
},
{
"segment_times"
,
"set segment split time points"
,
OFFSET
(
times_str
),
AV_OPT_TYPE_STRING
,{.
str
=
NULL
},
0
,
0
,
E
},
{
"segment_times"
,
"set segment split time points"
,
OFFSET
(
times_str
),
AV_OPT_TYPE_STRING
,{.
str
=
NULL
},
0
,
0
,
E
},
...
...
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