Plugin specific messages

Tim Müller tim at centricular.com
Thu Jun 25 08:17:19 PDT 2015


On Thu, 2015-06-25 at 14:42 +0000, Thornton, Keith wrote:

Hi Keith,

> 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.

It should be of type GST_MESSAGE_ELEMENT and then you get the structure
and look at the GstStructure name (combined perhaps also with the
message source object if there is one).

http://people.freedesktop.org/~tpm/code/test-backlog-recording-h264.c

Has an example (in this case the message comes from a bin though).

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list