Ensure that state is null on exit

This commit is contained in:
Thomas Adamcik 2010-10-28 00:03:14 +02:00
parent 3178ef4626
commit c247e1455b

View File

@ -101,4 +101,5 @@ class Scanner(object):
self.loop.run()
def stop(self):
self.pipe.set_state(gst.STATE_NULL)
self.loop.quit()