[downloader/fragment] HLS download can continue without first fragment
Closes #5274
This commit is contained in:
parent
2576d53a31
commit
814bba3933
6 changed files with 30 additions and 34 deletions
|
|
@ -51,7 +51,7 @@ class DashSegmentsFD(FragmentFD):
|
|||
|
||||
args.append([ctx, fragments_to_download, fmt])
|
||||
|
||||
return self.download_and_append_fragments_multiple(*args)
|
||||
return self.download_and_append_fragments_multiple(*args, is_fatal=lambda idx: idx == 0)
|
||||
|
||||
def _resolve_fragments(self, fragments, ctx):
|
||||
fragments = fragments(ctx) if callable(fragments) else fragments
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue