diff options
author | Remita Amine <remitamine@gmail.com> | 2017-04-22 16:42:24 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-04-22 16:42:24 +0100 |
commit | 3e0304fe6e3a194cfb04f21aa261effb0850da40 (patch) | |
tree | 6026936191e93009421524d00c28b58c6c2d658e /youtube_dl/downloader/dash.py | |
parent | fbf56be213021669363b69c5d0866b2cf22ecf2a (diff) |
[downloader/fragment] use the documented names for fragment progress_hooks fields
Diffstat (limited to 'youtube_dl/downloader/dash.py')
-rw-r--r-- | youtube_dl/downloader/dash.py | 2 |
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 |