projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70947ea
)
[YoutubeDL] Respect explicit `--merge-format-output` for uncompatible formats as...
author
Sergey M․
<dstftw@gmail.com>
Sun, 19 Apr 2015 16:33:52 +0000
(22:33 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 19 Apr 2015 16:33:52 +0000
(22:33 +0600)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 5dd9d2430406e6fb96ef166989b8c849510856bd..3bb350e2a9f2442e4018dc75353b40020acbede5 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1390,8
+1390,7
@@
class YoutubeDL(object):
return False
requested_formats = info_dict['requested_formats']
- # Merge incompatible formats into mkv
- if not compatible_formats(requested_formats):
+ if self.params.get('merge_output_format') is None and not compatible_formats(requested_formats):
filename = os.path.splitext(filename)[0] + '.mkv'
self.report_warning('You have requested formats uncompatible for merge. '
'The formats will be merged into mkv')