aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/dash.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/downloader/dash.py')
-rw-r--r--youtube_dl/downloader/dash.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/dash.py b/youtube_dl/downloader/dash.py
index 94a13a543..7491fdad8 100644
--- a/youtube_dl/downloader/dash.py
+++ b/youtube_dl/downloader/dash.py
@@ -28,7 +28,7 @@ class DashSegmentsFD(FragmentFD):
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