From d7549acc01b570061aaf04bd81dfc44bb8918895 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 25 Dec 2009 08:48:57 +0000 Subject: 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 --- libmpdemux/extension.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- cgit v1.2.3