mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 14:49:15 +00:00
Add debug for selected section
This commit is contained in:
parent
cdac7641d6
commit
fbae888c65
|
@ -2768,6 +2768,8 @@ def _live_dash_fragments(self, video_id, format_id, live_start_time, mpd_feed, m
|
|||
section_start = 0 if ctx.get('section_start') is None else download_start_time + ctx['section_start']
|
||||
section_end = math.inf if ctx.get('section_end') is None else download_start_time + ctx['section_end']
|
||||
|
||||
self.write_debug(f'Selected section: {section_start} -> {section_end}')
|
||||
|
||||
lack_early_segments = download_start_time - (live_start_time or download_start_time) > MAX_DURATION
|
||||
if lack_early_segments:
|
||||
self.report_warning(bug_reports_message(
|
||||
|
|
Loading…
Reference in a new issue