diff options
author | Philipp Hagemeister <[email protected]> | 2015-02-17 17:27:29 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2015-02-17 17:27:29 +0100 |
commit | 65bf37ef83b67bd0e2c594283852d120734b2a3a (patch) | |
tree | 827e69e9e4418887e6e981a159b71c06475affcf | |
parent | f740fae2a418ce6c1d229890b48730d257a80dee (diff) | |
download | youtube-dl-65bf37ef83b67bd0e2c594283852d120734b2a3a.tar.gz youtube-dl-65bf37ef83b67bd0e2c594283852d120734b2a3a.zip |
[ffmpeg] Remove trivial helper method
-rw-r--r-- | youtube_dl/postprocessor/ffmpeg.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py index e98fe9834..3f2e6cf1d 100644 --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/youtube_dl/postprocessor/ffmpeg.py @@ -37,7 +37,7 @@ class FFmpegPostProcessor(PostProcessor): if not self.available: raise FFmpegPostProcessorError('ffmpeg or avconv not found. Please install one.') - required_version = '10-0' if self._uses_avconv() else '1.0' + required_version = '10-0' if self.basename == 'avconv' else '1.0' if is_outdated_version( self._versions[self.basename], required_version): warning = 'Your copy of %s is outdated, update %s to version %s or newer if you encounter any errors.' % ( @@ -112,9 +112,6 @@ class FFmpegPostProcessor(PostProcessor): def available(self): return self.basename is not None - def _uses_avconv(self): - return self.basename == 'avconv' - @property def executable(self): return self._paths[self.basename] |