mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 16:51:26 +01:00
Compare commits
2 Commits
dc1d98a253
...
4671a56437
Author | SHA1 | Date | |
---|---|---|---|
|
4671a56437 | ||
|
f3fe2355ee |
|
@ -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 New Issue
Block a user