~ubuntu-branches/ubuntu/precise/youtube-dl/precise

« back to all changes in this revision

Viewing changes to debian/patches/01-add-support-to-webm.patch

  • Committer: Bazaar Package Importer
  • Author(s): Rogério Brito
  • Date: 2010-06-07 04:16:54 UTC
  • mfrom: (1.1.13 upstream) (5.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20100607041654-6qtw8havyc8zrjc8
Tags: 2010.06.06-1
* New upstream release:
  + support for retrying connections after a 503 error
  + argument '-' can be used with -a to indicate stdin
  + support for webm formats
* debian/patches/01-add-support-to-webm.patch:
  + remove parts applied upstream
  + update to download webm videos based on their quality

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Add support for webm (VP8 video + Vorbis audio)
 
1
Description: Reorder preference of video formats
2
2
Author: Rogério Brito <rbrito@ime.usp.br>
3
3
Forwarded: no
4
 
Last-Update: 2010-05-29
 
4
Last-Update: 2010-06-07
5
5
 
6
6
--- a/youtube-dl
7
7
+++ b/youtube-dl
8
 
@@ -649,13 +649,15 @@
 
8
@@ -685,7 +685,7 @@
9
9
        _LOGIN_URL = 'http://www.youtube.com/signup?next=/&gl=US&hl=en'
10
10
        _AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
11
11
        _NETRC_MACHINE = 'youtube'
12
12
-       _available_formats = ['37', '22', '35', '18', '34', '5', '17', '13', None] # listed in order of priority for -b flag
13
 
+       _available_formats = ['45', '43', '37', '22', '35', '18', '34', '5', '17', '13', None] # listed in order of priority for -b flag
 
13
+       _available_formats = ['37', '45', '22', '35', '18', '43', '34', '5', '17', '13', None] # listed in order of priority for -b flag
14
14
        _video_extensions = {
15
15
                '13': '3gp',
16
16
                '17': 'mp4',
17
 
                '18': 'mp4',
18
 
                '22': 'mp4',
19
 
                '37': 'mp4',
20
 
+               '43': 'webm',
21
 
+               '45': 'webm'
22
 
        }
23
 
 
24
 
        @staticmethod