Merge branch 'main' into main

This commit is contained in:
chu23465 2024-11-23 23:36:08 +05:30 committed by GitHub
commit 00db930ac1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -368,7 +368,7 @@ internal class HLSExtractor : IExtractor
// #EXT-X-MAP
else if (line.StartsWith(HLSTags.ext_x_map))
{
if (playlist.MediaInit == null)
if (playlist.MediaInit == null || hasAd)
{
playlist.MediaInit = new MediaSegment()
{

View File

@ -270,8 +270,9 @@ internal class MyOption
/// See: <see cref="CommandInvoker.LiveFixVttByAudio"/>.
/// </summary>
public bool LiveFixVttByAudio { get; set; }
public bool OnlyInit { get; set; }
public DecryptEngine GetDecryptEngine()
{