helloworld: fix typo

This commit is contained in:
Mathieu Duponchelle 2018-07-20 15:58:35 +02:00
parent e9d615bf53
commit 71d4c9f989

View file

@ -9,7 +9,7 @@ from gi.repository import GObject, Gst
def bus_call(bus, message, loop): def bus_call(bus, message, loop):
t = message.type t = message.type
if t == Gst.MessageType.EOS: if t == Gst.MessageType.EOS:
sys.stout.write("End-of-stream\n") sys.stdout.write("End-of-stream\n")
loop.quit() loop.quit()
elif t == Gst.MessageType.ERROR: elif t == Gst.MessageType.ERROR:
err, debug = message.parse_error() err, debug = message.parse_error()