Fix tag duplication

The fix is addressing duplication for #EXT-X-KEY and #EXT-X-MAP tags in a media manifest produced
This commit is contained in:
Vadim Getmanshchuk 2020-02-26 16:21:06 -08:00 committed by GitHub
parent ed0d35b3a3
commit fc9f45dd18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -479,6 +479,8 @@ impl MediaPlaylist {
next_segment.uri = u;
media_playlist.segments.push(next_segment);
next_segment = MediaSegment::empty();
encryption_key = None;
map = None;
}
_ => (),
}