2015-09-25, 12:12
(2015-09-25, 11:53)Bjur Wrote: Hi Roma the profile doesn't work. The error in madVR is:
expected some sort of "and" or "or" statement
Fixed: (checked on madVR v0.89.2)
Code:
if (filePath == "*rtsp:/*") or (fileExt == "tsbuffer") or (fileExt == "ts") "MediaPortal PVR profile"
else if (srcWidth = 1920) or ((srcHeight > 720) and (srcHeight <= 1080)) "1080p"
else if (srcWidth = 1280) or ((srcHeight > 540) and (srcHeight <= 720)) "720p"
else if ((srcWidth <= 960) or (srcHeight <= 540)) "SD"