From 08d13955dd56027d8ca61b70c6cbab6925367fb4 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Wed, 1 Jan 2014 20:23:47 +0100 Subject: [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. --- youtube_dl/extractor/wistia.py | 1 + 1 file changed, 1 insertion(+) (limited to 'youtube_dl/extractor/wistia.py') diff --git a/youtube_dl/extractor/wistia.py b/youtube_dl/extractor/wistia.py index 584550455..bc31c2e64 100644 --- a/youtube_dl/extractor/wistia.py +++ b/youtube_dl/extractor/wistia.py @@ -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) -- cgit v1.2.3