Plugin specific messages

Thiago Santos thiagoss at osg.samsung.com
Thu Jun 25 08:04:37 PDT 2015


On 06/25/2015 11:42 AM, Thornton, Keith wrote:
>
> Hi.
>
> If I set the post-messages parameter of multifilesink to TRUE, 
> multifilesink sends a custom message. Does anyone have an example of 
> how to receive this message in my application.
>
> I have a BusFunc in which I receive such messages as _EOS but I 
> haven’t yet managed to receive the multifilesink message up until now.
>

You need to catch a GST_MESSAGE_ELEMENT and check the name on the 
structure, just like camerabin does:

http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst/camerabin2/gstcamerabin2.c#n1006

Regards,

>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-- 
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150625/2136f8f5/attachment.html>


More information about the gstreamer-devel mailing list