Changed mplayer2 pausing to documented command.

This commit is contained in:
daniel-123 2013-01-13 22:47:59 +01:00
parent 1994e02b2c
commit f7489f7c89

View File

@ -85,8 +85,8 @@ class MplayerPlayer(BasePlayer):
self._setProperty('time_pos', "{}".format(value))
def setPaused(self, value):
self._paused = value
self._setProperty('pause', 'yes' if value else 'no')
if self._paused <> value:
self._listener.sendLine('pause')
def _getFilename(self):
self._getProperty('filename')