13 lines
809 B
Plaintext
13 lines
809 B
Plaintext
$OpenBSD: patch-youtube-dl,v 1.5 2011/05/31 17:36:01 dcoppa Exp $
|
|
--- youtube-dl.orig Tue May 31 16:25:23 2011
|
|
+++ youtube-dl Tue May 31 16:25:23 2011
|
|
@@ -634,7 +634,7 @@ class FileDownloader(object):
|
|
# Download using rtmpdump. rtmpdump returns exit code 2 when
|
|
# the connection was interrumpted and resuming appears to be
|
|
# possible. This is part of rtmpdump's normal usage, AFAIK.
|
|
- basic_args = ['rtmpdump', '-q'] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', tmpfilename]
|
|
+ basic_args = ['rtmpdump'] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', tmpfilename]
|
|
retval = subprocess.call(basic_args + [[], ['-e', '-k', '1']][self.params.get('continuedl', False)])
|
|
while retval == 2 or retval == 1:
|
|
prevsize = os.path.getsize(tmpfilename)
|