projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d466d3
)
[downloader/hls] Encode filename (Fixes #2609)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 24 Mar 2014 20:23:05 +0000
(21:23 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 24 Mar 2014 20:23:05 +0000
(21:23 +0100)
youtube_dl/downloader/hls.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/hls.py
b/youtube_dl/downloader/hls.py
index fa983462babeb6a6bccc2f22992411dd6aea8a5b..9d407fe6eb81683b19c5671ef7b92050e0a690c3 100644
(file)
--- a/
youtube_dl/downloader/hls.py
+++ b/
youtube_dl/downloader/hls.py
@@
-13,8
+13,10
@@
class HlsFD(FileDownloader):
self.report_destination(filename)
tmpfilename = self.temp_name(filename)
- args = ['-y', '-i', url, '-f', 'mp4', '-c', 'copy',
- '-bsf:a', 'aac_adtstoasc', tmpfilename]
+ args = [
+ '-y', '-i', url, '-f', 'mp4', '-c', 'copy',
+ '-bsf:a', 'aac_adtstoasc',
+ encodeFilename(tmpfilename, for_subprocess=True)]
for program in ['avconv', 'ffmpeg']:
try: