diff --git a/DOCS/tech/codec-devel.txt b/DOCS/tech/codec-devel.txt index 0e811d50eb..a9ca1ddcad 100644 --- a/DOCS/tech/codec-devel.txt +++ b/DOCS/tech/codec-devel.txt @@ -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 ------------ diff --git a/DOCS/tech/libmpcodecs.txt b/DOCS/tech/libmpcodecs.txt index 68ad7eeb5a..65165b7bd9 100644 --- a/DOCS/tech/libmpcodecs.txt +++ b/DOCS/tech/libmpcodecs.txt @@ -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 ================================== diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 382aa4afe4..6bc8ba38ad 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -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 }; diff --git a/libmpcodecs/ve.c b/libmpcodecs/ve.c index 4b6e0fc376..d74a0cd2d3 100644 --- a/libmpcodecs/ve.c +++ b/libmpcodecs/ve.c @@ -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 }; diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index 7d22761d6b..d00fd0294e 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -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 };