mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[extractor] Extract storyboards from SMIL manifests (#1128)
Authored by: fstirlitz
This commit is contained in:
		| @@ -3029,9 +3029,7 @@ class YoutubeDL(object): | ||||
|  | ||||
|     @staticmethod | ||||
|     def format_resolution(format, default='unknown'): | ||||
|         if format.get('vcodec') == 'none': | ||||
|             if format.get('acodec') == 'none': | ||||
|                 return 'images' | ||||
|         if format.get('vcodec') == 'none' and format.get('acodec') != 'none': | ||||
|             return 'audio only' | ||||
|         if format.get('resolution') is not None: | ||||
|             return format['resolution'] | ||||
| @@ -3043,6 +3041,8 @@ class YoutubeDL(object): | ||||
|             res = '%dx?' % format['width'] | ||||
|         else: | ||||
|             res = default | ||||
|         if format.get('vcodec') == 'none' and format.get('acodec') == 'none': | ||||
|             res += ' (images)' | ||||
|         return res | ||||
|  | ||||
|     def _format_note(self, fdict): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Felix S
					Felix S