Fix BasePlaybackController with respect to test_seek_when_paused_triggers_play

This commit is contained in:
Thomas Adamcik 2010-04-06 22:12:44 +02:00
parent 4ff5c578ba
commit f34507cc29

View File

@ -511,6 +511,8 @@ class BasePlaybackController(object):
"""
if self.state == self.STOPPED:
self.play()
elif self.state == self.PAUSED:
self.resume()
if time_position < 0:
time_position = 0