]> gitweb @ CieloNegro.org - youtube-dl.git/commit
[downloader/hls] Don't let ffmpeg read from stdin (#8139)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 4 Jan 2016 17:35:31 +0000 (18:35 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Mon, 4 Jan 2016 17:35:31 +0000 (18:35 +0100)
commit3f17c357d9958bfae18f06676c89ffdb63553509
tree4ce585858265db723b011c61d2c6168e9dc0f5d2
parent9938a17f92ad8242d8841528a89df647ff759183
[downloader/hls] Don't let ffmpeg read from stdin (#8139)

If you run 'while read aurl ; do youtube-dl "${aurl}"; done < path_to_batch_file'  (batch_file contains one url per line that uses the hls downloader) each call to youtube-dl consumed some characters and 'read' would assing to 'aurl' a non valid url

(This is the same problem that was fixed for the ffmpeg postprocessors in cffcbc02de504d84e1c2677bb525c00b03e04f53)
youtube_dl/downloader/hls.py