mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Infer acodec for single-codec containers
				
					
				
			This commit is contained in:
		| @@ -2813,6 +2813,9 @@ class YoutubeDL: | ||||
|             format['url'] = sanitize_url(format['url']) | ||||
|             if format.get('ext') is None: | ||||
|                 format['ext'] = determine_ext(format['url']).lower() | ||||
|             if format['ext'] in ('aac', 'opus', 'mp3', 'flac', 'vorbis'): | ||||
|                 if format.get('acodec') is None: | ||||
|                     format['acodec'] = format['ext'] | ||||
|             if format.get('protocol') is None: | ||||
|                 format['protocol'] = determine_protocol(format) | ||||
|             if format.get('resolution') is None: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan