[gst-devel] Sometimes pad creation

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Jun 18 15:07:29 CEST 2010


On Fri, 2010-06-18 at 18:19 +0530, Irfan Shaikh wrote:
> 
Hi,

>       I have taken a gst-plugin tempalate and modifying it so that i
> can create sometimes pad. Currently i want my plugin such that only
> one some times pad is created. When i run the pluging get following
> warning
> 
> [root at localhost gst-plugin]# gst-launch fakesrc ! sometime ! fakesink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> 
> (gst-launch-0.10:31042): GStreamer-WARNING **: adding flushing pad
> 'src_00' to running element 'plugintemplate0'

You need to gst_pad_set_active(pad,TRUE) before adding the pad (with git
of gstreamer core the warning will say so too).

 Cheers
  -Tim





More information about the gstreamer-devel mailing list