fix hls version header if EXT-X-START used
This commit is contained in:
@@ -1577,7 +1577,7 @@ static int hls_window(AVFormatContext *s, int last, VariantStream *vs)
|
||||
hls->version = 4;
|
||||
}
|
||||
|
||||
if (hls->flags & HLS_INDEPENDENT_SEGMENTS) {
|
||||
if ((hls->flags & HLS_INDEPENDENT_SEGMENTS) || (hls->start_offset>=0)) {
|
||||
hls->version = 6;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user