mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[wistia] Prefer original video format above all others
We could also set up a formula which would weigh filesize/bitrate and vcodec/acodec (say, 1GB h264 < 3 GB MPEG2 < 2 GB h264), but that would get really messy real soon.
This commit is contained in:
		| @@ -44,6 +44,7 @@ class WistiaIE(InfoExtractor): | ||||
|                 'height': a['height'], | ||||
|                 'filesize': a['size'], | ||||
|                 'ext': a['ext'], | ||||
|                 'preference': 1 if atype == 'original' else None, | ||||
|             }) | ||||
|  | ||||
|         self._sort_formats(formats) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister