mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 00:01:54 +01:00
Compare commits
2 Commits
1ce5e7b19f
...
30355db7ff
Author | SHA1 | Date | |
---|---|---|---|
|
30355db7ff | ||
|
f3fe2355ee |
|
@ -676,7 +676,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _options(target_ext):
|
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)
|
yield from FFmpegPostProcessor.stream_copy_opts(not audio_only)
|
||||||
if audio_only:
|
if audio_only:
|
||||||
yield from ('-vn', '-acodec', 'copy')
|
yield from ('-vn', '-acodec', 'copy')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user