summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-25 08:48:57 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-25 08:48:57 +0000
commitd7549acc01b570061aaf04bd81dfc44bb8918895 (patch)
tree9664ab45af20f97334cdf55ad5ca63580518dc8c
parentc0aeb1c1c7d8e1ce75fdfe819d4ef0956c4058f2 (diff)
downloadmpv-d7549acc01b570061aaf04bd81dfc44bb8918895.tar.bz2
mpv-d7549acc01b570061aaf04bd81dfc44bb8918895.tar.xz
Add a (unfortunately rather long) explanation on how and when to use it
to the file extension -> demuxer mapping list. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30110 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/extension.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libmpdemux/extension.c b/libmpdemux/extension.c
index c411a8fc20..8d179ca124 100644
--- a/libmpdemux/extension.c
+++ b/libmpdemux/extension.c
@@ -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;