Don't call bin.get_state with -1, default is blocking anyway

This commit is contained in:
Thomas Adamcik 2010-04-06 15:04:13 +02:00
parent 62684af518
commit ce2c032247

View File

@ -121,7 +121,7 @@ class GStreamerPlaybackController(BasePlaybackController):
bus.disconnect(self._bus_id)
bus.remove_signal_watch()
bin.get_state(-1)
bin.get_state()
bin.set_state(gst.STATE_NULL)
del bus