mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	More improvements to HLS/DASH external downloader code
* Fix error when there is no `protocol` in `info_dict` * Move HLS byte range detection to `Aria2cFD` so that the download will fall back to the native downloader instead of ffmpeg * Fix bug with getting no fragments in DASH * Convert `check_results` in `can_download` to a generator
This commit is contained in:
		| @@ -2437,7 +2437,8 @@ class YoutubeDL(object): | ||||
|                     else: | ||||
|                         assert fixup_policy in ('ignore', 'never') | ||||
|  | ||||
|                 if get_suitable_downloader(info_dict, self.params).__name__ == 'HlsFD': | ||||
|                 if ('protocol' in info_dict | ||||
|                         and get_suitable_downloader(info_dict, self.params).__name__ == 'HlsFD'): | ||||
|                     if fixup_policy == 'warn': | ||||
|                         self.report_warning('%s: malformed AAC bitstream detected.' % ( | ||||
|                             info_dict['id'])) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan