about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2010-11-23 21:20:26 -0200
committerRogério Brito <rbrito@ime.usp.br>2011-01-29 03:41:44 -0200
commite0edf1e041caa32195e1d9bcb3966dae2fbc39c7 (patch)
tree5d2bf5353b76ab19b6c860d453eba5f37a43d1ff
parentf8dc4414305f111a17d31f53d4a04650d80d34f5 (diff)
downloadyoutube-dl-e0edf1e041caa32195e1d9bcb3966dae2fbc39c7.tar.gz
youtube-dl-e0edf1e041caa32195e1d9bcb3966dae2fbc39c7.tar.xz
youtube-dl-e0edf1e041caa32195e1d9bcb3966dae2fbc39c7.zip
Give preference to WebM formats.
This patch gives preference to formats that are Free.
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 24722d292..cd1e9fc86 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -719,7 +719,7 @@ class YoutubeIE(InfoExtractor):
 	_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
 	_NETRC_MACHINE = 'youtube'
 	# Listed in order of quality
-	_available_formats = ['38', '37', '22', '45', '35', '34', '43', '18', '6', '5', '17', '13']
+	_available_formats = ['38', '37', '45', '22', '43', '35', '34', '18', '6', '5', '17', '13']
 	_video_extensions = {
 		'13': '3gp',
 		'17': 'mp4',