From: Philipp Hagemeister Date: Sun, 23 Mar 2014 16:41:43 +0000 (+0100) Subject: [extractor/common] Clarify preference key in formats X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=38d63d846edbf4c897a7df6e2ee545002e1203ca;p=youtube-dl [extractor/common] Clarify preference key in formats --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 647720c8a..78f238f84 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -74,7 +74,7 @@ class InfoExtractor(object): "http", "https", "rtsp", "rtmp", "m3u8" or so. * preference Order number of this format. If this field is present and not None, the formats get sorted - by this field. + by this field, regardless of all other values. -1 for default (order by other properties), -2 or smaller for less than default. * quality Order number of the video quality of this