+ avio_printf(out, "#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=\"%s\"", sgroup);
+ avio_printf(out, ",NAME=\"subtitle_%d\",DEFAULT=%s,", name_id, is_default ? "YES" : "NO");
+ if (language) {
+ avio_printf(out, "LANGUAGE=\"%s\",", language);
+ }
+ avio_printf(out, "URI=\"%s\"\n", filename);
+}
+
+void ff_hls_write_stream_info(AVStream *st, AVIOContext *out, int bandwidth,
+ const char *filename, const char *agroup,
+ const char *codecs, const char *ccgroup,
+ const char *sgroup)
+{