Mercurial > mplayer.hg
changeset 25876:edfe8baed49f
copy note on new demuxers and codecs to the top of the array as well to be
extra clear
author | ivo |
---|---|
date | Mon, 28 Jan 2008 16:03:22 +0000 |
parents | 2356fe5b7596 |
children | c541499ddf25 |
files | libmpcodecs/vd.c libmpcodecs/ve.c libmpdemux/demuxer.c |
diffstat | 3 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd.c Mon Jan 28 14:38:11 2008 +0000 +++ b/libmpcodecs/vd.c Mon Jan 28 16:03:22 2008 +0000 @@ -49,6 +49,9 @@ 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 */ + vd_functions_t* mpcodecs_vd_drivers[] = { &mpcodecs_vd_null, #ifdef USE_LIBAVCODEC
--- a/libmpcodecs/ve.c Mon Jan 28 14:38:11 2008 +0000 +++ b/libmpcodecs/ve.c Mon Jan 28 16:03:22 2008 +0000 @@ -18,6 +18,9 @@ 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 */ + static vf_info_t* encoder_list[]={ #ifdef USE_LIBAVCODEC &ve_info_lavc,
--- a/libmpdemux/demuxer.c Mon Jan 28 14:38:11 2008 +0000 +++ b/libmpdemux/demuxer.c Mon Jan 28 16:03:22 2008 +0000 @@ -74,6 +74,9 @@ 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 */ + const demuxer_desc_t* const demuxer_list[] = { &demuxer_desc_rawaudio, &demuxer_desc_rawvideo,