Gstreamer plugin

tajourim tajouri.maher at gmail.com
Mon Mar 4 00:19:22 PST 2013


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.


More information about the gstreamer-devel mailing list