mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
Don't attempt to copy cover art for .opus and .wav files
This commit is contained in:
parent
be3579aaf0
commit
f3fe2355ee
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
|||
|
||||
@staticmethod
|
||||
def _options(target_ext):
|
||||
audio_only = target_ext == 'm4a'
|
||||
audio_only = target_ext in ('opus', 'wav')
|
||||
yield from FFmpegPostProcessor.stream_copy_opts(not audio_only)
|
||||
if audio_only:
|
||||
yield from ('-vn', '-acodec', 'copy')
|
||||
|
|
Loading…
Reference in a new issue