* Looks like Samsung TV's want the improper MIME type video/x-mkv instead of video/x-matroska.
This commit is contained in:
parent
84a2f22e66
commit
e0b88d2101
@ -540,6 +540,14 @@ callback(void *args, int argc, char **argv, char **azColName)
|
|||||||
strcpy(mime+6, "mpeg");
|
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 )
|
else if( strncmp(mime+6, "L16", 3) == 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user