On Thu, 2007-11-29 at 20:07 +0800, Ben Lau wrote: > hi all, > > I am implementing a GObject (a simple video player) that creates a > GStreamer pipeline for video processing. Soon it receives a new > GstBuffer of video frame from the pipeline, it will emit a signal. As > GStreamer processes the pipeline with multiple threads. The signal > handler may not be involved inside the main thread. If my GObject > calls g_signal_emit() within the handler, then client's callback > function may also not be involved from the main thread.
If you tell all your threads except the main thread to ignore the signal, won't the signal only be caught by the main thread? // Wally -- [EMAIL PROTECTED] Office: 619.278.2084 Cell: 619.990.2286 _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list