<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br> I am trying to connect a source plugin to gstfaad plugin. the capabilities of my source plugin's source pad are as follows.<br>
<br>static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",<br>
GST_PAD_SRC,<br> GST_PAD_ALWAYS,<br> GST_STATIC_CAPS ("audio/mpeg, " "mpegversion = (int) 2")<br> );<br><br>From
my plugin, I am first getting 14 bytes which is some AAC specific
header and then AAC frames one after the other (the AAC data is parsed
and i get one frame at a time). <br>
<br>Is the defenition of my pad template correct? Also what should I do
with AAC data I am getting? As of now I am trying to push them as is to
the faad (The 14 bytes first and then a frame by frame.) But the faad
does not even seem to move to the PAUSED state. Also it will be great if anyone can forward any links where I can find out how to connect to plugins like faad.<br>
<br><br>
</blockquote></div><br>