convert: fix decision on which items to transcode

This commit is contained in:
Jakob Schnitzer 2013-10-27 17:10:55 +00:00
parent dab7ec219d
commit 887e02c2ae

View file

@ -123,7 +123,7 @@ def should_transcode(item):
"""
maxbr = config['convert']['max_bitrate'].get(int)
format_name = config['convert']['format'].get(unicode)
return format_name.lower() == item.format.lower() or \
return format_name.lower() != item.format.lower() or \
item.bitrate >= 1000 * maxbr