[MPlayer-cvslog] r25908 - in trunk: DOCS/tech/codec-devel.txt DOCS/tech/libmpcodecs.txt libmpcodecs/vd.c libmpcodecs/ve.c libmpdemux/demuxer.c

ivo subversion at mplayerhq.hu
Mon Jan 28 23:09:21 CET 2008


Author: ivo
Date: Mon Jan 28 23:09:21 2008
New Revision: 25908

Log:
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.


Modified:
   trunk/DOCS/tech/codec-devel.txt
   trunk/DOCS/tech/libmpcodecs.txt
   trunk/libmpcodecs/vd.c
   trunk/libmpcodecs/ve.c
   trunk/libmpdemux/demuxer.c

Modified: trunk/DOCS/tech/codec-devel.txt
==============================================================================
--- trunk/DOCS/tech/codec-devel.txt	(original)
+++ trunk/DOCS/tech/codec-devel.txt	Mon Jan 28 23:09:21 2008
@@ -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
 ------------

Modified: trunk/DOCS/tech/libmpcodecs.txt
==============================================================================
--- trunk/DOCS/tech/libmpcodecs.txt	(original)
+++ trunk/DOCS/tech/libmpcodecs.txt	Mon Jan 28 23:09:21 2008
@@ -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
 ==================================

Modified: trunk/libmpcodecs/vd.c
==============================================================================
--- trunk/libmpcodecs/vd.c	(original)
+++ trunk/libmpcodecs/vd.c	Mon Jan 28 23:09:21 2008
@@ -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
 };
 

Modified: trunk/libmpcodecs/ve.c
==============================================================================
--- trunk/libmpcodecs/ve.c	(original)
+++ trunk/libmpcodecs/ve.c	Mon Jan 28 23:09:21 2008
@@ -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
 };
 

Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c	(original)
+++ trunk/libmpdemux/demuxer.c	Mon Jan 28 23:09:21 2008
@@ -75,7 +75,8 @@ extern const demuxer_desc_t demuxer_desc
 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
 };
 



More information about the MPlayer-cvslog mailing list