Hi,<br>I am writing a decoder plugin for mp3 decoder, when i am try to connect to alsasink,i am getting error as,<br><br>ERROR: from element /GstPipeline:pipeline0/GstAlsa<div id=":1bz">Sink:alsasink0: The stream is in the wrong format.<br>
Additional debug info:<br>
gstbaseaudiosink.c(929): gst_base_audio_sink_preroll (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0:<br>
sink not negotiated.<br>
ERROR: pipeline doesn't want to preroll.<br>
<br>
I have set the capabilities as,<br><br>
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",<br>
GST_PAD_SRC,<br>
GST_PAD_ALWAYS,<br>
GST_STATIC_CAPS ( "audio/x-raw-int, "<br>
"rate = (int) [ 1, MAX ], "<br>
"channels = (int) [ 1, MAX ], "<br>
"endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "<br>
"width = (int) 16, "<br>
"depth = (int) [ 1, 16 ], "<br>
"signed = (boolean) { true, false }")<br>
);<br><br>Regards,<br>Vijay P<br></div>