Merge branch 'main' into main
This commit is contained in:
commit
00db930ac1
|
@ -368,7 +368,7 @@ internal class HLSExtractor : IExtractor
|
||||||
// #EXT-X-MAP
|
// #EXT-X-MAP
|
||||||
else if (line.StartsWith(HLSTags.ext_x_map))
|
else if (line.StartsWith(HLSTags.ext_x_map))
|
||||||
{
|
{
|
||||||
if (playlist.MediaInit == null)
|
if (playlist.MediaInit == null || hasAd)
|
||||||
{
|
{
|
||||||
playlist.MediaInit = new MediaSegment()
|
playlist.MediaInit = new MediaSegment()
|
||||||
{
|
{
|
||||||
|
|
|
@ -273,6 +273,7 @@ internal class MyOption
|
||||||
|
|
||||||
public bool OnlyInit { get; set; }
|
public bool OnlyInit { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public DecryptEngine GetDecryptEngine()
|
public DecryptEngine GetDecryptEngine()
|
||||||
{
|
{
|
||||||
if (UseShakaPackager)
|
if (UseShakaPackager)
|
||||||
|
|
Loading…
Reference in New Issue