[gst-devel] About Signaling
Zhanhua Kuang
zkuang82 at gmail.com
Mon Mar 10 10:08:29 CET 2008
Thank you very much...
On Mon, 2008-03-10 at 09:00 +0000, Tim Müller wrote:
> 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.
>
> Cheers
> -Tim
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list