]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Keep in sync with ffmpeg's current malformed AAC bitstream wording (closes #13587)
authorSergey M․ <dstftw@gmail.com>
Sun, 9 Jul 2017 10:09:44 +0000 (17:09 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 9 Jul 2017 10:09:44 +0000 (17:09 +0700)
youtube_dl/YoutubeDL.py
youtube_dl/postprocessor/ffmpeg.py

index b3a6d4d3b080e2899d1dbb9868340bac39c368a7..60ee4b7d811419281a6d95be3da03907fd76e167 100755 (executable)
@@ -1890,7 +1890,7 @@ class YoutubeDL(object):
                         info_dict.get('protocol') == 'm3u8' and
                         self.params.get('hls_prefer_native')):
                     if fixup_policy == 'warn':
-                        self.report_warning('%s: malformated aac bitstream.' % (
+                        self.report_warning('%s: malformed AAC bitstream detected.' % (
                             info_dict['id']))
                     elif fixup_policy == 'detect_or_warn':
                         fixup_pp = FFmpegFixupM3u8PP(self)
@@ -1899,7 +1899,7 @@ class YoutubeDL(object):
                             info_dict['__postprocessors'].append(fixup_pp)
                         else:
                             self.report_warning(
-                                '%s: malformated aac bitstream. %s'
+                                '%s: malformed AAC bitstream detected. %s'
                                 % (info_dict['id'], INSTALL_FFMPEG_MESSAGE))
                     else:
                         assert fixup_policy in ('ignore', 'never')
index f021ea8fdc50fa3af5613f32754de14979f1797d..51256a3fb52c0f51547c335eecf6774af07307c8 100644 (file)
@@ -542,7 +542,7 @@ class FFmpegFixupM3u8PP(FFmpegPostProcessor):
             temp_filename = prepend_extension(filename, 'temp')
 
             options = ['-c', 'copy', '-f', 'mp4', '-bsf:a', 'aac_adtstoasc']
-            self._downloader.to_screen('[ffmpeg] Fixing malformated aac bitstream in "%s"' % filename)
+            self._downloader.to_screen('[ffmpeg] Fixing malformed AAC bitstream in "%s"' % filename)
             self.run_ffmpeg(filename, temp_filename, options)
 
             os.remove(encodeFilename(filename))