[farsight2/master] Make it clear that element-added can be emitted anywhere

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:22:14 PST 2008


---
 gst-libs/gst/farsight/fs-element-added-notifier.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-element-added-notifier.c b/gst-libs/gst/farsight/fs-element-added-notifier.c
index 2535f89..e31834f 100644
--- a/gst-libs/gst/farsight/fs-element-added-notifier.c
+++ b/gst-libs/gst/farsight/fs-element-added-notifier.c
@@ -87,6 +87,8 @@ fs_element_added_notifier_class_init (FsElementAddedNotifierClass *klass)
    *
    * This signal is emitted when an element is added to a #GstBin that was added
    * to this object or one of its sub-bins.
+   * Be careful, there is no guarantee that this will be emitted on your
+   * main thread, it will be emitted in the thread that added the element.
    */
   signals[ELEMENT_ADDED] = g_signal_new ("element-added",
       G_TYPE_FROM_CLASS (klass),
-- 
1.5.6.5




More information about the farsight-commits mailing list