* More Sony workarounds for AVC TS files.

This commit is contained in:
Justin Maggard 2011-04-04 22:22:05 +00:00
parent d4ad581327
commit 7d049aea93
2 changed files with 4 additions and 1 deletions

View File

@ -345,7 +345,9 @@ intervening space) by either an integer or the keyword "infinite". */
h->reqflags |= FLAG_DLNA;
}
/* X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40EX503"; mv="1.7"; */
else if(strstrc(p, "BRAVIA", '\r'))
/* X-AV-Client-Info: av=5.0; hn=""; cn="Sony Corporation"; mn="INTERNET TV NSX-40GT 1"; mv="0.1"; */
else if(strstrc(p, "BRAVIA", '\r') ||
strstrc(p, "INTERNET TV", '\r'))
{
h->req_client = ESonyBravia;
h->reqflags |= FLAG_DLNA;

View File

@ -691,6 +691,7 @@ callback(void *args, int argc, char **argv, char **azColName)
require profile to be renamed (applies to _T and _ISO variants also) */
modifyString(dlna_pn, "AVC_TS_MP_SD_AC3", "AVC_TS_HD_50_AC3", 0);
modifyString(dlna_pn, "AVC_TS_MP_HD_AC3", "AVC_TS_HD_50_AC3", 0);
modifyString(dlna_pn, "AVC_TS_HP_HD_AC3", "AVC_TS_HD_50_AC3", 0);
}
}
else if( *mime == 'a' )