mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-21 08:35:40 +07:00
[downloader/fragment] use the documented names for fragment progress_hooks fields
This commit is contained in:
@@ -28,7 +28,7 @@ def real_download(self, filename, info_dict):
|
||||
frag_index = 0
|
||||
for i, segment in enumerate(segments):
|
||||
frag_index += 1
|
||||
if frag_index <= ctx['frag_index']:
|
||||
if frag_index <= ctx['fragment_index']:
|
||||
continue
|
||||
# In DASH, the first segment contains necessary headers to
|
||||
# generate a valid MP4 file, so always abort for the first segment
|
||||
|
||||
Reference in New Issue
Block a user