[vlc-devel] Re: where can i find decoder selection part?
Nelson Lam
nelson.lam at student.cityu.edu.hk
Mon Feb 27 20:35:45 CET 2006
>===== Original Message From =====
Hi John,
Regarding to your question, the decoder is selected by the code:
if( p_dec->fmt_in.i_codec != VLC_FOURCC('d','r','a','c') )
/* your should change your fourcc, serach in google for fourcc for more info.
*/
{
return VLC_EGENERIC;
}
I suggest you can read the modules/codec/diarc.c as an example. The dirac
codec has a clear API document for you to trace the code. Besides, the API
document is old so it is not compatible with recent verisons.
Hope my suggestion is helpful ^^
Regards,
Nelson
>===== Original Message From õ¹Î¼ö <johnminsu at hotmail.com> =====
>Hi everyone!
>
>I'm trying to add a new decoder. But I can't find decoder selection part.
>I also referenced API document but it doesn't match with current version of
>VLC player.
>
>Is there anyone who know the decoder selection part?
>
>I greatly appreciate any replies.
>
>Thanks!
>
>John, Minsu.
>
>--
>This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
>To unsubscribe, please read http://developers.videolan.org/lists.html
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list