]> jfr.im git - yt-dlp.git/blobdiff - youtube_dlc/postprocessor/ffmpeg.py
Improved passing of multiple postprocessor-args
[yt-dlp.git] / youtube_dlc / postprocessor / ffmpeg.py
index 9c6065018c3052cbe03d235309e9588e3f3ae7b8..3079d2e72424b06e7e96d86bdbb743a7ab59548c 100644 (file)
@@ -54,8 +54,6 @@ class FFmpegPostProcessorError(PostProcessingError):
 
 class FFmpegPostProcessor(PostProcessor):
     def __init__(self, downloader=None):
-        if not hasattr(self, 'PP_NAME'):
-            self.PP_NAME = self.__class__.__name__[6:-2]  # Remove ffmpeg from the front
         PostProcessor.__init__(self, downloader)
         self._determine_executables()
 
@@ -209,7 +207,7 @@ def run_ffmpeg_multiple_files(self, input_paths, out_path, opts):
         oldest_mtime = min(
             os.stat(encodeFilename(path)).st_mtime for path in input_paths)
 
-        opts += self._configuration_args()
+        opts += self._configuration_args(exe=self.basename)
 
         files_cmd = []
         for path in input_paths: