mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 15:51:24 +01:00
Compare commits
2 Commits
1ce5e7b19f
...
30355db7ff
Author | SHA1 | Date | |
---|---|---|---|
|
30355db7ff | ||
|
f3fe2355ee |
|
@ -676,7 +676,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