浏览代码

Allow recoding the video to mkv

Jaime Marquínez Ferrándiz 11 年之前
父节点
当前提交
b7d73595dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/__init__.py

+ 1 - 1
youtube_dl/__init__.py

@@ -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)