Bus sync message not working?

Sebastian Dröge sebastian at centricular.com
Thu Feb 19 00:14:39 PST 2015


On Mi, 2015-02-18 at 03:23 -0800, Ralph wrote:
> I write a Windows C# WPF application using C# bindings and GStreamer 1.4.5.
> 
> I have been using bus messages for quite a while and everything worked, but
> now I must to respond to a synchronous bus message.
> 
> My C# code looks like that:
> 
>         Some method()
>         {
>             pipeline = new Gst.Pipeline();
>             pipeline.Bus.AddSignalWatch();
>             pipeline.Bus.SyncMessage += new
> Gst.SyncMessageHandler(Bus_SyncMessage);

To enable sync message emission via the signal, you first have to call
the C# equivalent of gst_bus_enable_sync_message_emission(TRUE) on the
bus.

Alternatively you can use gst_bus_set_sync_handler(), which does not
impose all the signal overhead.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150219/ee717bf8/attachment-0001.sig>


More information about the gstreamer-devel mailing list