129 int target_duration = 0;
136 for (en = hls->
list; en; en = en->
next) {
143 avio_printf(hls->
pb,
"#EXT-X-TARGETDURATION:%d\n", target_duration);
147 for (en = hls->
list; en; en = en->
next) {
190 const char *pattern =
"%d.ts";
191 int basename_size = strlen(s->
filename) + strlen(pattern) + 1;
204 "More than a single video stream present, "
205 "expect issues decoding it.\n");
255 int ret, can_split = 1;
312 #define OFFSET(x) offsetof(HLSContext, x)
313 #define E AV_OPT_FLAG_ENCODING_PARAM
315 {
"start_number",
"set first number in the sequence",
OFFSET(number),
AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX,
E},
333 .extensions =
"m3u8",
341 .priv_class = &hls_class,