* Make strict DLNA adherence optional. Many products appear to handle JPEGs >4096x4096 classified as JPEG_LRG, and it's better to not downscale if we don't have to.

This commit is contained in:
Justin Maggard
2009-10-14 21:24:23 +00:00
parent b632bf1704
commit 4efa9d06ac
8 changed files with 25 additions and 13 deletions

View File

@ -762,7 +762,7 @@ ProcessHttpQuery_upnphttp(struct upnphttp * h)
#ifdef TIVO_SUPPORT
else if(strncmp(HttpUrl, "/TiVoConnect", 12) == 0)
{
if( GETFLAG(TIVOMASK) )
if( GETFLAG(TIVO_MASK) )
{
if( *(HttpUrl+12) == '?' )
{
@ -1546,7 +1546,7 @@ SendResp_dlnafile(struct upnphttp * h, char * object)
DPRINTF(E_WARN, L_HTTP, "Client tried to specify transferMode as Interactive without an image!\n");
/* Samsung TVs (well, at least the A950) do this for some reason,
* and I don't see them fixing this bug any time soon. */
if( h->req_client != ESamsungTV )
if( h->req_client != ESamsungTV || GETFLAG(DLNA_STRICT_MASK) )
{
Send406(h);
goto error;