mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
helloworld: fix typo
This commit is contained in:
parent
e9d615bf53
commit
71d4c9f989
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue