Fix subtitle dialog window "burn-in"

This commit is contained in:
tomkat83 2016-09-08 14:51:57 +02:00
parent f2f68f4532
commit bf6ba9c48e

View file

@ -332,12 +332,12 @@ class PlayUtils():
track = "%s - Forced" % track track = "%s - Forced" % track
if downloadable: if downloadable:
downloadableStreams.append(index) downloadableStreams.append(index)
else:
track = "%s (burn-in)" % track
if stream.attrib.get('selected') == '1' and downloadable: if stream.attrib.get('selected') == '1' and downloadable:
# Only show subs without asking user if they can be # Only show subs without asking user if they can be
# turned off # turned off
defaultSub = index defaultSub = index
else:
track = "%s (burn-in)" % track
subtitleStreamsList.append(index) subtitleStreamsList.append(index)
subtitleStreams.append(tryEncode(track)) subtitleStreams.append(tryEncode(track))