Hi, gstreamer-devel:<br><br> The mpegdemux has dynamic pads which you can't link to decoder directly. You need to read the gstreamer application develop manual for details.<br><br>Eric Zhang<br><br><div class="gmail_quote">
2009/1/15 vaisakh.n <span dir="ltr"><<a href="mailto:vaisakh.n@nestgroup.net">vaisakh.n@nestgroup.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was trying buil an application to play " mpg " file<br>
<br>
so that in program i created elements<br>
are ... filesrc location=f1.mpg , mpegdemux, mpeg2dec , xvimagesink<br>
<br>
are the elements i created .. by using gst_element_factory_make ("", "");<br>
and linked the elements like this .....<br>
if(! gst_element_link_many(Source,MPG_Demux, MPG_Decod,Video_Sink ,NULL) )<br>
{<br>
/* but its goes here */<br>
/* error in linking * /<br>
}<br>
<br>
i found that error is in linking in between MPG_Demux and MPG_Decod ..<br>
why its so???<br>
<br>
help me<br>
<br>
thanks in advance<br>
<br>
<br>
<br>
***** Confidentiality Statement/Disclaimer *****<br>
<br>
This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.<br>
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by:<br>
SourcForge Community<br>
SourceForge wants to tell your story.<br>
<a href="http://p.sf.net/sfu/sf-spreadtheword" target="_blank">http://p.sf.net/sfu/sf-spreadtheword</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>