youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 6fba62c87a39686c0424ce9acd0fd29700a21076
parent 1df41411968b52d7fd6d0f0d233ad760aa5e6368
Author: remitamine <remitamine@gmail.com>
Date:   Tue,  2 Feb 2016 22:14:23 +0100

[ffmpeg] fix adding metadata when using --hls-prefer-native(#8350)

Diffstat:
Myoutube_dl/postprocessor/ffmpeg.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py @@ -392,7 +392,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor): options.extend(['-metadata', '%s=%s' % (name, value)]) # https://github.com/rg3/youtube-dl/issues/8350 - if info['protocol'] == 'm3u8_native': + if info['protocol'] == 'm3u8_native' or self._downloader.params.get('hls_prefer_native', False): options.extend(['-bsf:a', 'aac_adtstoasc']) self._downloader.to_screen('[ffmpeg] Adding metadata to \'%s\'' % filename)