[Bug 674574] Segfault

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 30 09:57:26 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=674574
  GStreamer | gst-python | 0.10.x

--- Comment #7 from Jonas H. <jonas at lophus.org> 2012-04-30 16:57:20 UTC ---
Right, here you go


from gi.repository import Gst

Gst.init(None)

def on_about_to_finish(playbin):
    pass

playbin = Gst.ElementFactory.make('playbin2', 'playbin')
playbin.set_property('uri', 'file:///jonas/stuff/noise.ogg')
playbin.set_state(Gst.State.PLAYING)
playbin.connect('about-to-finish', on_about_to_finish)
# ausprobieren mit audio-sinks und dann bugreport filen

import time
while 1:
    time.sleep(.1)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list