Browse Source

Allow recoding the video to mkv

master
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
b7d73595dc
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/__init__.py

2
youtube_dl/__init__.py

@ -678,7 +678,7 @@ def _real_main(argv=None):
if not opts.audioquality.isdigit(): if not opts.audioquality.isdigit():
parser.error(u'invalid audio quality specified') parser.error(u'invalid audio quality specified')
if opts.recodevideo is not None: 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') parser.error(u'invalid video recode format specified')
if opts.date is not None: if opts.date is not None:
date = DateRange.day(opts.date) date = DateRange.day(opts.date)

Loading…
Cancel
Save