From 38d63d846edbf4c897a7df6e2ee545002e1203ca Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sun, 23 Mar 2014 17:41:43 +0100 Subject: [PATCH] [extractor/common] Clarify preference key in formats --- youtube_dl/extractor/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 647720c8a1..78f238f842 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