diff options
author | pulpe <Pulpan3@gmail.com> | 2015-04-24 09:11:39 +0200 |
---|---|---|
committer | pulpe <Pulpan3@gmail.com> | 2015-04-24 09:11:39 +0200 |
commit | c0ea8ebb9bc628e3787e739dbf58bd0e59c83f87 (patch) | |
tree | a9eb4aa62ba541256a08271de6bf4808752bf5bb /youtube_dl/postprocessor | |
parent | 31fd9c76013faaa86b0c515d9305de548856ef84 (diff) |
[ffmpeg] Remove unneeded class
Diffstat (limited to 'youtube_dl/postprocessor')
-rw-r--r-- | youtube_dl/postprocessor/ffmpeg.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py index c01f2eedd..7a952963e 100644 --- a/youtube_dl/postprocessor/ffmpeg.py +++ b/youtube_dl/postprocessor/ffmpeg.py @@ -590,21 +590,6 @@ class FFmpegMergerPP(FFmpegPostProcessor): return info['__files_to_merge'], info -class FFmpegAudioFixPP(FFmpegPostProcessor): - def run(self, info): - filename = info['filepath'] - temp_filename = prepend_extension(filename, 'temp') - - options = ['-vn', '-acodec', 'copy'] - self._downloader.to_screen('[ffmpeg] Fixing audio file "%s"' % filename) - self.run_ffmpeg(filename, temp_filename, options) - - os.remove(encodeFilename(filename)) - os.rename(encodeFilename(temp_filename), encodeFilename(filename)) - - return [], info - - class FFmpegFixupStretchedPP(FFmpegPostProcessor): def run(self, info): stretched_ratio = info.get('stretched_ratio') |