mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[downloader/hls] Fix total fragments count when ad fragments exist
This commit is contained in:
		| @@ -88,6 +88,7 @@ class HlsFD(FragmentFD): | ||||
|             if line.startswith('#'): | ||||
|                 if anvato_ad(line): | ||||
|                     ad_frags += 1 | ||||
|                     ad_frag_next = True | ||||
|                 continue | ||||
|             if ad_frag_next: | ||||
|                 ad_frag_next = False | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․