error in running gstreamer pipeline

Mayank Agarwal mayank77fromindia at gmail.com
Mon Dec 8 23:28:34 PST 2014


Hi,

I am running simple pipeline to play mp3 file using avfilesrc plugin.

But i am getting following error.Compiling gstreaner-1.0.

(gst-launch-1.0:2337): GStreamer-WARNING **: Element avfilesrc0 has an
ALWAYS template src, but no pad of the same name
WARNING: erroneous pipeline: could not link avfilesrc0 to mad0

If i have to manually link the srcpad to next element in the pipeline.

In my opinion i can implement like that

1.padone = gst_pad_new_from_static_template(src_template,"name");

2.gst_element_link_pad(GST_ELEMENT(src),padone);

If i need to implement any caps query between 1&2 above to resolve the
above error.

Please also find my src file as attachment.

Regards
Mayank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstavfilesrc.c
Type: text/x-csrc
Size: 18507 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141209/8a72090f/attachment.c>


More information about the gstreamer-devel mailing list