Browse Source

[YoutubeDL] Check if merger can actually merge

totalwebcasting
Sergey M․ 9 years ago
parent
commit
97fcf1bbd0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/YoutubeDL.py

+ 1
- 1
youtube_dl/YoutubeDL.py View File

@ -1088,7 +1088,7 @@ class YoutubeDL(object):
if (self.params.get('outtmpl', DEFAULT_OUTTMPL) != '-'
and info_dict['extractor'] in ['youtube', 'ted']):
merger = FFmpegMergerPP(self)
if merger.available and not merger.check_outdated():
if merger.available and merger.can_merge():
req_format_list.append('bestvideo+bestaudio')
req_format_list.append('best')
req_format = '/'.join(req_format_list)


Loading…
Cancel
Save