134 int target_duration = 0;
142 for (en = hls->
list; en; en = en->
next) {
144 target_duration = ceil(en->
duration);
149 avio_printf(hls->
pb,
"#EXT-X-TARGETDURATION:%d\n", target_duration);
150 avio_printf(hls->
pb,
"#EXT-X-MEDIA-SEQUENCE:%"PRId64
"\n", sequence);
155 for (en = hls->
list; en; en = en->
next) {
198 const char *pattern =
"%d.ts";
199 int basename_size = strlen(s->
filename) + strlen(pattern) + 1;
211 "More than a single video stream present, "
212 "expect issues decoding it.\n");
263 int ret, can_split = 1;
276 is_ref_pkt = can_split = 0;
327 #define OFFSET(x) offsetof(HLSContext, x)
328 #define E AV_OPT_FLAG_ENCODING_PARAM
349 .extensions =
"m3u8",
357 .priv_class = &hls_class,