[MPlayer-cvslog] r30110 - trunk/libmpdemux/extension.c

reimar subversion at mplayerhq.hu
Fri Dec 25 09:48:57 CET 2009


Author: reimar
Date: Fri Dec 25 09:48:57 2009
New Revision: 30110

Log:
Add a (unfortunately rather long) explanation on how and when to use it
to the file extension -> demuxer mapping list.

Modified:
   trunk/libmpdemux/extension.c

Modified: trunk/libmpdemux/extension.c
==============================================================================
--- trunk/libmpdemux/extension.c	Thu Dec 24 19:20:03 2009	(r30109)
+++ trunk/libmpdemux/extension.c	Fri Dec 25 09:48:57 2009	(r30110)
@@ -27,6 +27,12 @@
 
 /*
  * An autodetection based on the extension is not a good idea, but we don't care ;-)
+ *
+ * You should not anything here where autodetection can be easily fixed except in
+ * order to speed up auto-detection, in particular for formats that are often streamed.
+ * In particular you should not normally add any DEMUXER_TYPE_LAVF, adding the
+ * format to preferred_list in libmpdemux/demuxer_lavf.c will usually achieve
+ * the same effect in a much more reliable way.
  */
 static struct {
         const char *extension;


More information about the MPlayer-cvslog mailing list