mirror of
https://github.com/mpv-player/mpv
synced 2025-03-24 12:22:25 +00:00
clarify comments/docs about lav* being the preferred place to implement new
codecs and (de)muxers, except for wrappers around external libraries and codecs and (de)muxers requiring binary support. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25908 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
194517d82a
commit
f3216dba06
@ -4,8 +4,9 @@ updated to libmpcodecs arch by A'rpi
|
||||
|
||||
SEE ALSO: libmpcodecs.txt !!!
|
||||
|
||||
NOTE: If you want to implement a new codec, please add it to libavcodec.
|
||||
libmpcodecs is considered deprecated.
|
||||
NOTE: If you want to implement a new native codec, please add it to
|
||||
libavcodec. libmpcodecs is considered mostly deprecated, except for wrappers
|
||||
around external libraries and codecs requiring binary support.
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
@ -1,5 +1,6 @@
|
||||
NOTE: If you want to implement a new decoder, please add it to libavcodec.
|
||||
libmpcodecs is considered deprecated.
|
||||
NOTE: If you want to implement a new native codec, please add it to
|
||||
libavcodec. libmpcodecs is considered mostly deprecated, except for wrappers
|
||||
around external libraries and codecs requiring binary support.
|
||||
|
||||
The libMPcodecs API details, hints - by A'rpi
|
||||
==================================
|
||||
|
@ -50,7 +50,8 @@ extern vd_functions_t mpcodecs_vd_lzo;
|
||||
extern vd_functions_t mpcodecs_vd_qtvideo;
|
||||
|
||||
/* Please do not add any new decoders here. If you want to implement a new
|
||||
* decoder, add it to libavcodec */
|
||||
* decoder, add it to libavcodec, except for wrappers around external
|
||||
* libraries and decoders requiring binary support. */
|
||||
|
||||
vd_functions_t* mpcodecs_vd_drivers[] = {
|
||||
&mpcodecs_vd_null,
|
||||
@ -101,7 +102,8 @@ vd_functions_t* mpcodecs_vd_drivers[] = {
|
||||
&mpcodecs_vd_qtvideo,
|
||||
#endif
|
||||
/* Please do not add any new decoders here. If you want to implement a new
|
||||
* decoder, add it to libavcodec */
|
||||
* decoder, add it to libavcodec, except for wrappers around external
|
||||
* libraries and decoders requiring binary support. */
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -19,7 +19,8 @@ extern vf_info_t ve_info_nuv;
|
||||
extern vf_info_t ve_info_x264;
|
||||
|
||||
/* Please do not add any new encoders here. If you want to implement a new
|
||||
* encoder, add it to libavcodec */
|
||||
* encoder, add it to libavcodec, except for wrappers around external
|
||||
* libraries and encoders requiring binary support. */
|
||||
|
||||
static vf_info_t* encoder_list[]={
|
||||
#ifdef USE_LIBAVCODEC
|
||||
@ -45,7 +46,8 @@ static vf_info_t* encoder_list[]={
|
||||
&ve_info_x264,
|
||||
#endif
|
||||
/* Please do not add any new encoders here. If you want to implement a new
|
||||
* encoder, add it to libavcodec */
|
||||
* encoder, add it to libavcodec, except for wrappers around external
|
||||
* libraries and encoders requiring binary support. */
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -75,7 +75,8 @@ extern const demuxer_desc_t demuxer_desc_aac;
|
||||
extern const demuxer_desc_t demuxer_desc_nut;
|
||||
|
||||
/* Please do not add any new demuxers here. If you want to implement a new
|
||||
* demuxer, add it to libavformat */
|
||||
* demuxer, add it to libavformat, except for wrappers around external
|
||||
* libraries and demuxers requiring binary support. */
|
||||
|
||||
const demuxer_desc_t* const demuxer_list[] = {
|
||||
&demuxer_desc_rawaudio,
|
||||
@ -145,7 +146,8 @@ const demuxer_desc_t* const demuxer_list[] = {
|
||||
&demuxer_desc_xmms,
|
||||
#endif
|
||||
/* Please do not add any new demuxers here. If you want to implement a new
|
||||
* demuxer, add it to libavformat */
|
||||
* demuxer, add it to libavformat, except for wrappers around external
|
||||
* libraries and demuxers requiring binary support. */
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user