comparison libmpdemux/extension.c @ 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
comparison
equal deleted inserted replaced
30067:1957c654b56d 30068:124057c64264
25 #include "stream/stream.h" 25 #include "stream/stream.h"
26 #include "demuxer.h" 26 #include "demuxer.h"
27 27
28 /* 28 /*
29 * An autodetection based on the extension is not a good idea, but we don't care ;-) 29 * An autodetection based on the extension is not a good idea, but we don't care ;-)
30 *
31 * You should not anything here where autodetection can be easily fixed except in
32 * order to speed up auto-detection, in particular for formats that are often streamed.
33 * In particular you should not normally add any DEMUXER_TYPE_LAVF, adding the
34 * format to preferred_list in libmpdemux/demuxer_lavf.c will usually achieve
35 * the same effect in a much more reliable way.
30 */ 36 */
31 static struct { 37 static struct {
32 const char *extension; 38 const char *extension;
33 int demuxer_type; 39 int demuxer_type;
34 } extensions_table[] = { 40 } extensions_table[] = {