]> git.bitcoin.ninja Git - youtube-dl/blobdiff - youtube_dl/__init__.py
Allow recoding the video to mkv
[youtube-dl] / youtube_dl / __init__.py
index 74b43b41dba10d741b0b51b3093f63ab5ff5e3f5..7ed8d197039c0b99990c161907905b2b8a859cac 100644 (file)
@@ -678,7 +678,7 @@ def _real_main(argv=None):
         if not opts.audioquality.isdigit():
             parser.error(u'invalid audio quality specified')
     if opts.recodevideo is not None:
-        if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg']:
+        if opts.recodevideo not in ['mp4', 'flv', 'webm', 'ogg', 'mkv']:
             parser.error(u'invalid video recode format specified')
     if opts.date is not None:
         date = DateRange.day(opts.date)