132 int target_duration = 0;
139 for (en = hls->
list; en; en = en->
next) {
146 avio_printf(hls->
pb,
"#EXT-X-TARGETDURATION:%d\n", target_duration);
150 for (en = hls->
list; en; en = en->
next) {
191 const char *pattern =
"%d.ts";
192 int basename_size = strlen(s->
filename) + strlen(pattern) + 1;
205 "More than a single video stream present, "
206 "expect issues decoding it.\n");
257 int ret, can_split = 1;
270 is_ref_pkt = can_split = 0;
321 #define OFFSET(x) offsetof(HLSContext, x)
322 #define E AV_OPT_FLAG_ENCODING_PARAM
324 {
"start_number",
"set first number in the sequence",
OFFSET(sequence),
AV_OPT_TYPE_INT64, {.i64 = 0}, 0, INT64_MAX,
E},
342 .extensions =
"m3u8",
350 .priv_class = &hls_class,