mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[ffmpeg] check for m3u8 protocol in FFmpegMetadataPP
This commit is contained in:
parent
e06e75c7e7
commit
7d3a035ee0
@ -392,7 +392,7 @@ def run(self, info):
|
||||
options.extend(['-metadata', '%s=%s' % (name, value)])
|
||||
|
||||
# https://github.com/rg3/youtube-dl/issues/8350
|
||||
if info.get('protocol') == 'm3u8_native' or self._downloader.params.get('hls_prefer_native', False):
|
||||
if info.get('protocol') == 'm3u8_native' or info.get('protocol') == 'm3u8' and self._downloader.params.get('hls_prefer_native', False):
|
||||
options.extend(['-bsf:a', 'aac_adtstoasc'])
|
||||
|
||||
self._downloader.to_screen('[ffmpeg] Adding metadata to \'%s\'' % filename)
|
||||
|
Loading…
Reference in New Issue
Block a user