131 int target_duration = 0;
138 for (en = hls->
list; en; en = en->
next) {
145 avio_printf(hls->
pb,
"#EXT-X-TARGETDURATION:%d\n", target_duration);
149 for (en = hls->
list; en; en = en->
next) {
188 const char *pattern =
"%d.ts";
189 int basename_size = strlen(s->
filename) + strlen(pattern) + 1;
202 "More than a single video stream present, "
203 "expect issues decoding it.\n");
253 int ret, can_split = 1;
315 #define OFFSET(x) offsetof(HLSContext, x)
316 #define E AV_OPT_FLAG_ENCODING_PARAM
336 .extensions =
"m3u8",
344 .priv_class = &hls_class,