Gstreamer plugin
dv
dv at pseudoterminal.org
Mon Mar 4 01:34:22 PST 2013
Please consult the Plugin Writer's Guide for general questions about the
chain function.
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/index.html
On 2013-03-04 09:19, tajourim wrote:
> this is my _chain() function:
> static GstFlowReturn
> gst_plugin_template_chain (GstPad * pad, GstBuffer * buf)
> {
> GstPluginTemplate *filter;
> GstFlowReturn ret;
>
> filter = GST_PLUGIN_TEMPLATE (GST_OBJECT_PARENT (pad));
> if (filter->silent == FALSE)
> g_print ("I'm plugged, therefore I'm in.\n");
>
>
> /* just push out the incoming buffer without touching it */
> return gst_pad_push (filter->srcpad, buf);
> }
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-plugin-tp4658855p4658857.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list