From facf5373e1325af70cd26f2536331402d9861584 Mon Sep 17 00:00:00 2001 From: Fedor Date: Tue, 21 Sep 2010 23:00:20 -0400 Subject: [PATCH] MiniDLNA 1.0.18 cvs 2010-09-21 --- release/src/router/minidlna/metadata.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/src/router/minidlna/metadata.c b/release/src/router/minidlna/metadata.c index 4d4b56208b..f2479f295c 100644 --- a/release/src/router/minidlna/metadata.c +++ b/release/src/router/minidlna/metadata.c @@ -1051,7 +1051,8 @@ GetVideoMetadata(const char * path, char * name) asprintf(&m.mime, "video/quicktime"); else asprintf(&m.mime, "video/mp4"); - else if( strcmp(ctx->iformat->name, "matroska") == 0 ) + else if( strcmp(ctx->iformat->name, "matroska") == 0 || + strcmp(ctx->iformat->name, "matroska,webm") == 0 ) asprintf(&m.mime, "video/x-matroska"); else if( strcmp(ctx->iformat->name, "flv") == 0 ) asprintf(&m.mime, "video/x-flv"); -- 2.11.4.GIT