X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/cc1fba069a27d401b8370e6f0bff250d8e269c7c..e7458a16b7276e81849ba40edb6b672c41aa23e2:/debian/patches/01-add-support-to-webm.patch?ds=inline diff --git a/debian/patches/01-add-support-to-webm.patch b/debian/patches/01-add-support-to-webm.patch index e1e9a39..6ff4ac7 100644 --- a/debian/patches/01-add-support-to-webm.patch +++ b/debian/patches/01-add-support-to-webm.patch @@ -1,24 +1,16 @@ -Description: Add support for webm (VP8 video + Vorbis audio) +Description: Give preference to open video formats Author: Rogério Brito Forwarded: no -Last-Update: 2010-05-29 +Last-Update: 2010-07-14 --- a/youtube-dl +++ b/youtube-dl -@@ -649,13 +649,15 @@ - _LOGIN_URL = 'http://www.youtube.com/signup?next=/&gl=US&hl=en' +@@ -689,7 +689,7 @@ _AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en' _NETRC_MACHINE = 'youtube' -- _available_formats = ['37', '22', '35', '18', '34', '5', '17', '13', None] # listed in order of priority for -b flag -+ _available_formats = ['45', '43', '37', '22', '35', '18', '34', '5', '17', '13', None] # listed in order of priority for -b flag + # Listed in order of priority for the -b option +- _available_formats = ['38', '37', '22', '45', '35', '34', '43', '18', '6', '5', '17', '13', None] ++ _available_formats = ['38', '37', '45', '22', '43', '35', '34', '18', '6', '5', '17', '13', None] _video_extensions = { '13': '3gp', '17': 'mp4', - '18': 'mp4', - '22': 'mp4', - '37': 'mp4', -+ '43': 'webm', -+ '45': 'webm' - } - - @staticmethod