130 int target_duration = 0;
137 for (en = hls->
list; en; en = en->
next) {
144 avio_printf(hls->
pb,
"#EXT-X-TARGETDURATION:%d\n", target_duration);
148 for (en = hls->
list; en; en = en->
next) {
189 const char *pattern =
"%d.ts";
190 int basename_size = strlen(s->
filename) + strlen(pattern) + 1;
203 "More than a single video stream present, "
204 "expect issues decoding it.\n");
255 int ret, can_split = 1;
268 is_ref_pkt = can_split = 0;
319 #define OFFSET(x) offsetof(HLSContext, x)
320 #define E AV_OPT_FLAG_ENCODING_PARAM
322 {
"start_number",
"set first number in the sequence",
OFFSET(sequence),
AV_OPT_TYPE_INT64, {.i64 = 0}, 0, INT64_MAX,
E},
340 .extensions =
"m3u8",
348 .priv_class = &hls_class,