Hi All,<br> I am trying to integrate my newcodec with the VLC for that I made following changes but I am unable to decode. Actually I am trying to playback my new codec's elementary stream but defaultly PS demuxer is getting selecting after that module_need(.....) with decoder capability it is comparing FOURCC value of all decoders. <br>
<br>1. I have created a file named <b>newcodec.c</b> in the <b>modules/codec folde</b>r.<br>2. Added this newly added codec in the <a href="http://configure.ac/" target="_blank">configure.ac</a><br>
3. run the bootstrap<br>4. Make && make install<br><br>Compiled
successfully and from the vlc --list i am able to find the my new codec
module. I have tried the VLC playback with the my newcodec's elementary
stream but in the newcodec.c it is failing at <br>
<b>if( p_dec->fmt_in.i_codec != VLC_FOURCC('X','Y','Z','V') )<br> {<br> <br> return VLC_EGENERIC;<br> }</b><br><br><br>and
from my debugging i have observed that ( from modules.c ) it is
comparing with all demux modules( container foramts ) after that with
decoder capability it is selecting the ( comparing the all the codecs
FOURCC ) proper decoder module and at this time I am able to enter in
to my new codec's source code but it is failing at the above mentioned
code snippet. Could you please help me how to avoid the above mentioned
issue ? where i need to mention the FOURCC value of the my newcodec to
assign to the <b>p_dec->fmt_in.i_codec.</b> <br><br>Could any one please suggest me to adding new decoder module for VLC ?<br><br>Regards,<br>Venu<br>