Fixed error with mpv and utf8 osd

This commit is contained in:
Uriziel 2014-02-22 20:01:39 +01:00
parent 698c083c56
commit b814564fab

View File

@ -243,7 +243,7 @@ class MplayerPlayer(BasePlayer):
def sendLine(self, line):
try:
line = (line + "\n").encode('utf8')
line = (line.decode('utf8') + u"\n").encode('utf8')
self.__process.stdin.write(line)
except IOError:
pass