diff options
author | Jesús <heckyel@hyperbola.info> | 2021-12-02 11:02:59 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-12-02 11:02:59 -0500 |
commit | 7739b37f957b098d237179534d1b8c20597d55b6 (patch) | |
tree | ce76d6ff608ad30fa81375dd4210b996d3430a97 /yt_dlp/postprocessor/ffmpeg.py | |
parent | ccf02e63e53e481824b56b4e05ab1c2a9558c9a7 (diff) | |
parent | 9bdd99cf39974bf19badc0dfc9ee7172ff198e98 (diff) | |
download | hypervideo-pre-7739b37f957b098d237179534d1b8c20597d55b6.tar.lz hypervideo-pre-7739b37f957b098d237179534d1b8c20597d55b6.tar.xz hypervideo-pre-7739b37f957b098d237179534d1b8c20597d55b6.zip |
updated from upstream | 02/12/2021 at 11:02
Diffstat (limited to 'yt_dlp/postprocessor/ffmpeg.py')
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 609f97e47..73bbf7fb0 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -593,10 +593,16 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor): return [], info filename = info['filepath'] + + # Disabled temporarily. There needs to be a way to overide this + # in case of duration actually mismatching in extractor + # See: https://github.com/yt-dlp/yt-dlp/issues/1870, https://github.com/yt-dlp/yt-dlp/issues/1385 + ''' if info.get('duration') and not info.get('__real_download') and self._duration_mismatch( self._get_real_video_duration(filename, False), info['duration']): self.to_screen(f'Skipping {self.pp_key()} since the real and expected durations mismatch') return [], info + ''' ext = info['ext'] sub_langs, sub_names, sub_filenames = [], [], [] |