* Looks like Samsung TV's want the improper MIME type video/x-mkv instead of video/x-matroska.

This commit is contained in:
Justin Maggard 2009-06-22 22:43:23 +00:00
parent 84a2f22e66
commit e0b88d2101

View File

@ -540,6 +540,14 @@ callback(void *args, int argc, char **argv, char **azColName)
strcpy(mime+6, "mpeg");
}
}
/* From what I read, Samsung TV's expect a [wrong] MIME type of x-mkv. */
if( passed_args->client == ESamsungTV )
{
if( strcmp(mime+6, "x-matroska") == 0 )
{
strcpy(mime+8, "mkv");
}
}
}
else if( strncmp(mime+6, "L16", 3) == 0 )
{