Ensure that state is null on exit
This commit is contained in:
parent
3178ef4626
commit
c247e1455b
@ -101,4 +101,5 @@ class Scanner(object):
|
||||
self.loop.run()
|
||||
|
||||
def stop(self):
|
||||
self.pipe.set_state(gst.STATE_NULL)
|
||||
self.loop.quit()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user