diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-12-08 05:32:00 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-12-08 17:04:22 +0100 |
commit | 5fbceb2c6339c9d0a370c0e5bf6dc229812865eb (patch) | |
tree | 2c751276cf133269317bfd684b94009cbe643ce8 /libavformat | |
parent | ddd7559ad97d3cde401ce096262af6375685ea22 (diff) | |
download | ffmpeg-5fbceb2c6339c9d0a370c0e5bf6dc229812865eb.tar.gz |
hls: add start_number option
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hlsenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 88f47e0f37..1003b85aa9 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -295,6 +295,7 @@ static int hls_write_trailer(struct AVFormatContext *s) #define OFFSET(x) offsetof(HLSContext, x) #define E AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { + { "start_number", "first number in the sequence", OFFSET(number), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, E}, {"hls_time", "segment length in seconds", OFFSET(time), AV_OPT_TYPE_FLOAT, {.dbl = 2}, 0, FLT_MAX, E}, {"hls_list_size", "maximum number of playlist entries", OFFSET(size), AV_OPT_TYPE_INT, {.i64 = 5}, 0, INT_MAX, E}, {"hls_wrap", "number after which the index wraps", OFFSET(wrap), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, E}, |