Mercurial > mplayer.hg
changeset 30068:124057c64264
Add a (unfortunately rather long) explanation on how and when to use it
to the file extension -> demuxer mapping list.
author | reimar |
---|---|
date | Fri, 25 Dec 2009 08:48:57 +0000 |
parents | 1957c654b56d |
children | 4952af133b15 |
files | libmpdemux/extension.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/extension.c Thu Dec 24 18:20:03 2009 +0000 +++ b/libmpdemux/extension.c Fri Dec 25 08:48:57 2009 +0000 @@ -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;