YoutubeDL: Make the decision about removing the original file after each postprocesso...
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 23 Feb 2014 10:29:42 +0000 (11:29 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 11 Jan 2015 10:35:18 +0000 (11:35 +0100)
commitf3ff1a3696c4080468e2cc5810c34273b148bd3e
tree54a7d45e3ae8d34bc1097676f9355d7687c25cae
parentaa24de39aae6b9a6ad59720258b9018f544a888f
YoutubeDL: Make the decision about removing the original file after each postprocessor is run (fixes #2261)

If one of the processors said the file should be kept, it wouldn't pay
attention to the response from the following processors. This was wrong if the
'keep_video' option was False, if the first extractor modifies the original file
and then we extract its audio we don't want to keep the original video file.
youtube_dl/YoutubeDL.py