[gst-devel] Plugin to listen to GstBus

Greg Wunder gwunder at eoir.com
Thu Jun 17 20:38:41 CEST 2010

This is a new issue I haven't had to deal with yet, but you've put me on the right track.
Thanks for your help!

-----Original Message-----
From: Michael Smith [mailto:msmith at xiph.org]
Sent: Thu 6/17/2010 2:09 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Plugin to listen to GstBus
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.


ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100617/5b28a453/attachment.htm>

More information about the gstreamer-devel mailing list