[gst-devel] How to get control from plugin to my app

Zhao Liang-E3423C E3423C at motorola.com
Fri Apr 18 05:22:09 CEST 2008


Another alternative is gst_pad_add_buffer_probe, add a probe for
specific pad you want to grab.

Best Regards
Zhao Liang


________________________________

From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of
Julien Isorce
Sent: Monday, April 14, 2008 11:49 PM
To: AlannY
Cc: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] How to get control from plugin to my app


Hi

Refer to
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugi
ns/html/gstreamer-plugins-identity.html

and to
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/sec
tion-data-spoof.html

The thing that you are talking about is "grab data from the pipeline to
your app".

You can take example from the identity element there: (the
signal_handoff property)
http://webcvs.freedesktop.org/gstreamer/gstreamer/plugins/elements/gstid
entity.c?revision=1.124&view=markup

Sincerely

Julien




2008/4/14, AlannY <alanny at starlink.ru>: 

	I'm writting an app and GStreamer plugin. Plugin reads data and
	*attention* pass data to my application. So, I have a one
question: how
	to transmit data from my plugin to my app?
	
	I mean, i have a _chain() function in plugin and some GstBuffer
in it. I
	want to tell my application (which already runs and loaded
plugin) to do
	some things with that GstBuffer. Which way is best? To use GLib
	properties, or may be you already have a better way?
	
	If you can't understand my english - just skip this letter ;-)
Thank you.
	
	
------------------------------------------------------------------------
-
	This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference
	Don't miss this year's exciting event. There's still time to
save $100.
	Use priority code J8TL2D2.
	
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
	_______________________________________________
	gstreamer-devel mailing list
	gstreamer-devel at lists.sourceforge.net
	https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080418/4c46d03e/attachment.htm>


More information about the gstreamer-devel mailing list