# HG changeset patch # User reimar # Date 1265391348 0 # Node ID 9f36eccc490a7e06876d4b58c51cd2295938172e # Parent 31a00b2a621f22edf24f4373f35d6ec3f7cde225 Prefer libavformat over our own mov demuxer also for video/quicktime mime-type. diff -r 31a00b2a621f -r 9f36eccc490a stream/network.c --- a/stream/network.c Fri Feb 05 17:20:21 2010 +0000 +++ b/stream/network.c Fri Feb 05 17:35:48 2010 +0000 @@ -68,6 +68,11 @@ const mime_struct_t mime_type_table[] = { +#ifdef CONFIG_LIBAVFORMAT + // Flash Video + { "video/x-flv", DEMUXER_TYPE_LAVF_PREFERRED}, + { "video/quicktime", DEMUXER_TYPE_LAVF_PREFERRED }, +#endif // MP3 streaming, some MP3 streaming server answer with audio/mpeg { "audio/mpeg", DEMUXER_TYPE_AUDIO }, // MPEG streaming @@ -101,10 +106,6 @@ // NullSoft Streaming Video { "video/nsv", DEMUXER_TYPE_NSV}, { "misc/ultravox", DEMUXER_TYPE_NSV}, -#ifdef CONFIG_LIBAVFORMAT - // Flash Video - { "video/x-flv", DEMUXER_TYPE_LAVF}, -#endif { NULL, DEMUXER_TYPE_UNKNOWN}, };