mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2025-01-03 11:48:41 +00:00
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:
parent
ed0d35b3a3
commit
fc9f45dd18
1 changed files with 2 additions and 0 deletions
|
@ -479,6 +479,8 @@ impl MediaPlaylist {
|
||||||
next_segment.uri = u;
|
next_segment.uri = u;
|
||||||
media_playlist.segments.push(next_segment);
|
media_playlist.segments.push(next_segment);
|
||||||
next_segment = MediaSegment::empty();
|
next_segment = MediaSegment::empty();
|
||||||
|
encryption_key = None;
|
||||||
|
map = None;
|
||||||
}
|
}
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue