[vlc-devel] Re: where can i find decoder selection part?
Sigmund Augdal Helberg
dnumgis at videolan.org
Thu Feb 23 12:14:05 CET 2006
On 2/23/06, 천민수 <johnminsu at hotmail.com> wrote:
> 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?
In your module header do set_capability( "decoder", 100);
The decoder plugins are tried in order from high to low capability
number. Your "Open" function should check the codec fourcc of the
incoming data and return VLC_EGENERIC in case it cannot handle this
codec and VLC_SUCCESS if it can.
> I greatly appreciate any replies.
> 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
More information about the vlc-devel