bus: update signal docs for gst_bus_enable_sync_message_emission()

This commit is contained in:
Stefan Sauer 2013-04-05 21:10:48 +02:00
parent fa371dad6d
commit 627d111eb6

View file

@ -188,12 +188,8 @@ gst_bus_class_init (GstBusClass * klass)
* A message has been posted on the bus. This signal is emitted from the * A message has been posted on the bus. This signal is emitted from the
* thread that posted the message so one has to be careful with locking. * thread that posted the message so one has to be careful with locking.
* *
* This signal will not be emitted by default, you have to set up * This signal will not be emitted by default, you have to call
* gst_bus_sync_signal_handler() as a sync handler if you want this * gst_bus_enable_sync_message_emission() before.
* signal to be emitted when a message is posted on the bus, like this:
* <programlisting>
* gst_bus_set_sync_handler (bus, gst_bus_sync_signal_handler, yourdata);
* </programlisting>
*/ */
gst_bus_signals[SYNC_MESSAGE] = gst_bus_signals[SYNC_MESSAGE] =
g_signal_new ("sync-message", G_TYPE_FROM_CLASS (klass), g_signal_new ("sync-message", G_TYPE_FROM_CLASS (klass),