projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93c2ab
)
--list-formats: Only add "@" if vbr is given
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 7 Jan 2014 07:08:48 +0000
(08:08 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 7 Jan 2014 07:08:48 +0000
(08:08 +0100)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index e1be38a53fcf02b5de2badcf777bbb532eff698b..6b19628506a6c26e11a82c74e65bf8808a420767 100644
(file)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1062,7
+1062,9
@@
class YoutubeDL(object):
res += '%4dk ' % fdict['tbr']
if (fdict.get('vcodec') is not None and
fdict.get('vcodec') != 'none'):
- res += '%-5s@' % fdict['vcodec']
+ res += '%-5s' % fdict['vcodec']
+ if fdict.get('vbr') is not None:
+ res += '@'
elif fdict.get('vbr') is not None and fdict.get('abr') is not None:
res += 'video@'
if fdict.get('vbr') is not None: