]> git.bitcoin.ninja Git - youtube-dl/commit
[FFmpegPostProcessor] Default of prefer ffmpeg
authorJuan M Martínez <joksnet@gmail.com>
Wed, 9 Dec 2015 23:56:00 +0000 (20:56 -0300)
committerJuan M Martínez <joksnet@gmail.com>
Wed, 9 Dec 2015 23:56:00 +0000 (20:56 -0300)
commit374c761e77b09b07918f525ad74724650309015f
tree2abe0ac7199fe2594376c62bd3d084d4e1413346
parent6c7b26e13f1aebe7bd19a7899b01e49b052febe5
[FFmpegPostProcessor] Default of prefer ffmpeg

When no `downloader` is passed to `FFmpegPostProcessor`
an exception was raised trying to get the prefer ffmpeg param.

    AttributeError: 'NoneType' object has no attribute 'params'

This fixes and defaults to `False`.
youtube_dl/postprocessor/ffmpeg.py