[gst-devel] new plugin writer's issue

Michael Smith msmith at xiph.org
Wed Feb 17 22:34:40 CET 2010


On Wed, Feb 17, 2010 at 12:19 PM, Durgesh Mishra
<durgesh.mishra at gmail.com> wrote:
> Hi Experts,
>
> I am writing audio source plugin for Android. I am new to gstreamer and
> would appreciate your help on this.
>
> While running the plugin with gst-launch, I am getting following error.
>
> gst-launch-0.10 droidaudiosrc ! audioconvert ! audioresample ! fakesink
>
>  GStreamer-WARNING **: Element droidaudiosrc0 has an ALWAYS template src,
> but no pad of the same name

Your audio source plugin should inherit from GstAudioSrc (or if
there's a particular reason that that isn't appopriate,
GstBaseAudioSrc). If you do it this way, the pad will be created for
you, so you shouldn't have this problem.

Mike




More information about the gstreamer-devel mailing list