[gst-devel] Plugin to listen to GstBus

Michael Smith msmith at xiph.org
Thu Jun 17 20:09:17 CEST 2010


On Thu, Jun 17, 2010 at 11:04 AM, Greg Wunder <gwunder at eoir.com> wrote:
> Thanks for the insight.
> Does "should not" mean this is not possible with the current version of
> gstreamer?

It's not entirely clear what you want to do. Bus messages are
inappropriate for communication between elements. It might be possible
to force them into doing that, but it wouldn't be a good idea.

> For video data fusion, I need to communicate forensic data acquired from one
> plug-in and pass it on to another.
> I was hoping to accomplish this through the GstBus.
> If this is not possible & I need to use a GstEvent, is there any
> functionality lost in using an event handler for this purpose?
>

If you want to communicate data between elements, then that's what
gstreamer's core dataflow is all about - why not just send GstBuffers
containing the data?

Events and messages are different, but without any details at all
about what sort of data you're sending, and what exactly you're
sending them between, I couldn't say whether the differences matter
for your purposes.

It does sound like you need a better understanding of the core
gstreamer concepts though - once you understand how gstreamer is
intended to work, it's likely that the right solution to your problem
will be pretty obvious.

Mike




More information about the gstreamer-devel mailing list