changeset 34658:4b4f769fe687

demux_lavf: Explain under which conditions to add demuxers to preferred_list.
author reimar
date Sun, 19 Feb 2012 20:33:32 +0000
parents 812c3528724b
children c7db9db9105c
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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",