Don't call bin.get_state with -1, default is blocking anyway
This commit is contained in:
parent
62684af518
commit
ce2c032247
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user