<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1609" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff><SPAN
class=395192003-18042008>Another alternative is gst_pad_add_buffer_probe, add a
probe for specific pad you want to grab.</SPAN></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal align=left><B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">Best
Regards<BR>Zhao <SPAN class=SpellE>Liang</SPAN></SPAN></B><BR></P></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
gstreamer-devel-bounces@lists.sourceforge.net
[mailto:gstreamer-devel-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>Julien Isorce<BR><B>Sent:</B> Monday, April 14, 2008 11:49 PM<BR><B>To:</B>
AlannY<BR><B>Cc:</B> gstreamer-devel@lists.sourceforge.net<BR><B>Subject:</B>
Re: [gst-devel] How to get control from plugin to my app<BR></FONT><BR></DIV>
<DIV></DIV>Hi<BR><BR>Refer to <A
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-identity.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-identity.html</A><BR><BR>and
to <A
href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-data-spoof.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-data-spoof.html</A><BR><BR>The
thing that you are talking about is "grab data from the pipeline to your
app".<BR><BR>You can take example from the identity element there: (the
signal_handoff property)<BR><A
href="http://webcvs.freedesktop.org/gstreamer/gstreamer/plugins/elements/gstidentity.c?revision=1.124&view=markup">http://webcvs.freedesktop.org/gstreamer/gstreamer/plugins/elements/gstidentity.c?revision=1.124&view=markup</A><BR><BR>Sincerely<BR><BR>Julien<BR><BR><BR><BR>
<DIV><SPAN class=gmail_quote>2008/4/14, AlannY <<A
href="mailto:alanny@starlink.ru">alanny@starlink.ru</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I'm
writting an app and GStreamer plugin. Plugin reads data and<BR>*attention*
pass data to my application. So, I have a one question: how<BR>to transmit
data from my plugin to my app?<BR><BR>I mean, i have a _chain() function in
plugin and some GstBuffer in it. I<BR>want to tell my application (which
already runs and loaded plugin) to do<BR>some things with that GstBuffer.
Which way is best? To use GLib<BR>properties, or may be you already have a
better way?<BR><BR>If you can't understand my english - just skip this letter
;-) Thank
you.<BR><BR>-------------------------------------------------------------------------<BR>This
SF.net email is sponsored by the 2008 JavaOne(SM) Conference<BR>Don't miss
this year's exciting event. There's still time to save $100.<BR>Use priority
code J8TL2D2.<BR><A
href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</A><BR>_______________________________________________<BR>gstreamer-devel
mailing list<BR><A
href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A><BR><A
href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>