Commit 62e8644b authored by Steven Liu's avatar Steven Liu

avformat/hlsenc: make the EXT-X-MEDIA NAME field by stream id.

Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent 0b50f276
......@@ -1258,7 +1258,7 @@ static int create_master_playlist(AVFormatContext *s,
goto fail;
}
ff_hls_write_audio_rendition(hls->m3u8_out, vs->agroup, m3u8_rel_name, 0, 1);
ff_hls_write_audio_rendition(hls->m3u8_out, vs->agroup, m3u8_rel_name, i, 1);
av_freep(&m3u8_rel_name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment