diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-12 09:00:21 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-12 09:00:21 +0530 |
commit | ed8d87f911585060faf4df5295fa9ad5bf46c380 (patch) | |
tree | f56305dd821a2e9246ddbbe1e94e1736854e8589 /yt_dlp/postprocessor/ffmpeg.py | |
parent | 397235c52bd9dc0e7f993e83b9301d981690c02f (diff) | |
download | hypervideo-pre-ed8d87f911585060faf4df5295fa9ad5bf46c380.tar.lz hypervideo-pre-ed8d87f911585060faf4df5295fa9ad5bf46c380.tar.xz hypervideo-pre-ed8d87f911585060faf4df5295fa9ad5bf46c380.zip |
[cleanup, docs] Minor fixes
Closes #2230
Diffstat (limited to 'yt_dlp/postprocessor/ffmpeg.py')
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 7c99fd018..848fd584a 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -585,7 +585,7 @@ class FFmpegVideoRemuxerPP(FFmpegVideoConvertorPP): @staticmethod def _options(target_ext): - return self.stream_copy_opts() + return FFmpegPostProcessor.stream_copy_opts() class FFmpegEmbedSubtitlePP(FFmpegPostProcessor): @@ -678,7 +678,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor): @staticmethod def _options(target_ext): audio_only = target_ext == 'm4a' - yield from self.stream_copy_opts(not audio_only) + yield from FFmpegPostProcessor.stream_copy_opts(not audio_only) if audio_only: yield from ('-vn', '-acodec', 'copy') |