[gst-devel] Signals idea
Erik Walthinsen
omega at temple-baptist.com
Thu Dec 21 01:53:33 CET 2000
Just had an idea relating to pipelines. The Pipeline could act as a
signal proxy for its children, such that you call
'gst_pipeline_attach_signal_to_child(pipeline,child,"signal",handler)' or
somesuch. The Pipeline attaches its own handler internally, which it
proxies out to the process holding the pipeline, which fires the signal
out into the main app. This can ensure that the same context is used for
the application and the signal, so you don't have to worry about getting
your signal handler fired in some process located in Uzbekistan via
distributed processing.
This can be accomplished with message queues and the gtk_main loop
timeouts, at least for apps that are using gtk.
Erik Walthinsen <omega at cse.ogi.edu> - Staff Programmer @ OGI
Quasar project - http://www.cse.ogi.edu/DISC/projects/quasar/
Video4Linux Two drivers and stuff - http://www.cse.ogi.edu/~omega/v4l2/
__
/ \ SEUL: Simple End-User Linux - http://www.seul.org/
| | M E G A Helping Linux become THE choice
_\ /_ for the home or office user
More information about the gstreamer-devel
mailing list