# HG changeset patch # User reimar # Date 1329683612 0 # Node ID 4b4f769fe68722c4ba15ba35cba3c7c0081b5704 # Parent 812c3528724bdc99407879df19f324f8b7c70298 demux_lavf: Explain under which conditions to add demuxers to preferred_list. diff -r 812c3528724b -r 4b4f769fe687 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Sun Feb 19 20:01:17 2012 +0000 +++ b/libmpdemux/demux_lavf.c Sun Feb 19 20:33:32 2012 +0000 @@ -207,6 +207,14 @@ return DEMUXER_TYPE_LAVF; } +/* Before adding anything to this list please stop and consider why. + * There are two good reasons + * 1) to reduce startup time when streaming these file types + * 2) workarounds around bugs in our native demuxers that are not reasonable to + * fix + * For the case 2) that means the issue should be understood well + * enough to be able to decide that a fix is not reasonable. + */ static const char * const preferred_list[] = { "cdxl", "dxa",