[gst-devel] why wavparse can't be linked in programming?

Zaheer Merali zaheermerali at gmail.com
Wed Apr 25 11:58:56 CEST 2007

On 4/25/07, linguang_wang at astrocom.cn <linguang_wang at astrocom.cn> wrote:
> Hi,all!
>         I play a .wav file in my application to use such an element "wavparse" element.This leads to a problem: I can't link wavparse and osssink immediately.As follow:
>    gst_element_link_many (source, mywavparse ,sink,NULL);
> when running this app,it will print an error that:
>         assertion failed: (gst_element_link_many (source, mywavparse,sink,NULL))
> ------------------------------------------------------------------------------------------------
> But if I use gst-launch to playback ,that is ok.
>    gst-launch filesrc location=music.wav ! wavparse ! osssink sync=false
> Who knows the reason please tell me. Thanks in advance!
> linguang_wang
>         linguang_wang at astrocom.cn

Hi Linguang,

Read the section on dynamic pads in:

It answers your question.


More information about the gstreamer-devel mailing list