aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-05-10 15:09:56 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-05-10 15:09:56 +0200
commitb7d73595dc20b0cea74efa7b29c448c7883d7c8b (patch)
treeca5c871297a9005b6fb42bd7af3c836cd452f769 /youtube_dl
parente97e53eeed0c80f514839f2731a2dd5413e62cca (diff)
Allow recoding the video to mkv
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 74b43b41d..7ed8d1970 100644
--- a/youtube_dl/__init__.py
+++ b/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)