mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[utils] mimetype2ext: weba is not standard
				
					
				
			Fix bug infbb7383306,2647c933b8Closes #5935
This commit is contained in:
		| @@ -44,6 +44,7 @@ EXT_TO_OUT_FORMATS = { | |||||||
|     'ts': 'mpegts', |     'ts': 'mpegts', | ||||||
|     'wma': 'asf', |     'wma': 'asf', | ||||||
|     'wmv': 'asf', |     'wmv': 'asf', | ||||||
|  |     'weba': 'webm', | ||||||
|     'vtt': 'webvtt', |     'vtt': 'webvtt', | ||||||
| } | } | ||||||
| ACODECS = { | ACODECS = { | ||||||
|   | |||||||
| @@ -3529,7 +3529,7 @@ def mimetype2ext(mt, default=NO_DEFAULT): | |||||||
|         # Per RFC 3003, audio/mpeg can be .mp1, .mp2 or .mp3. |         # Per RFC 3003, audio/mpeg can be .mp1, .mp2 or .mp3. | ||||||
|         # Using .mp3 as it's the most popular one |         # Using .mp3 as it's the most popular one | ||||||
|         'audio/mpeg': 'mp3', |         'audio/mpeg': 'mp3', | ||||||
|         'audio/webm': 'weba', |         'audio/webm': 'webm', | ||||||
|         'audio/x-matroska': 'mka', |         'audio/x-matroska': 'mka', | ||||||
|         'audio/x-mpegurl': 'm3u', |         'audio/x-mpegurl': 'm3u', | ||||||
|         'midi': 'mid', |         'midi': 'mid', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan