[gst-devel] About Signaling
t.i.m at zen.co.uk
Mon Mar 10 10:00:20 CET 2008
On Mon, 2008-03-10 at 14:50 +0800, Zhanhua Kuang wrote:
> I'm new to GST, also Python. And I'm trying to write a simple
> command-line player with pygst. But I met some problems about signaling.
> I expect the __on_message method would be called when the engine finish
> playing a file. But at actually, it's never called.
bus.add_signal_watch() only works if you run a GLib/Gtk main loop.
Also note that "file://" + file_path is not really the right way to
create an URI from a file name.
More information about the gstreamer-devel