]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[ffmpeg] Remove unneeded class
authorpulpe <Pulpan3@gmail.com>
Fri, 24 Apr 2015 07:11:39 +0000 (09:11 +0200)
committerpulpe <Pulpan3@gmail.com>
Fri, 24 Apr 2015 07:11:39 +0000 (09:11 +0200)
youtube_dl/postprocessor/ffmpeg.py

index c01f2eedde3e54db2b138e783e81387a31efbc03..7a952963e2bc44e5ddc7df8b85bd051af91299e2 100644 (file)
@@ -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')