Kodi DSPlayer – DirectShow Player for Windows
#47
(2015-04-04, 02:58)aracnoz Wrote: Yesterday I worked on a little surprise, now the gui that manage madVR's settings may not be enough because we want to be able to customize the settings per resolution and then here's the surprise

Image

default settings saved per resolution, so I think that now it's very complete

the rule at playstart it's

try to load defaults per file's settings
if there is not success, try to load defaults per resolution's settings
if there is not success, load defaults global settings

maybe there is to add the resolution UHD

Now I would like your opinion, these are the rules for determining the various resolutions

would we change something?

Code:
if (height> 0 && height <= 600)
  res = 540;
if (height> 600 && height <= 1000)
  res = 720;
if (height> 1000)
  res = 1080;

I also think using height would do the trick:

if (srcHeight >= 481) and (srcHeight <= 576) "576p"

if (srcHeight >= 577) and (srcHeight <= 720) "720p"

if (srcHeight >= 721) and (srcHeight <= 1080) "1080p"

if (srcHeight >= 1081) and (srcHeight <= 2160) "UHD"

else if (srcHeight <= 575) "SD"

Edit: to remove width variable.
Reply


Messages In This Thread
RE: Kodi DSPlayer – DirectShow Player for Windows - by Warner306 - 2015-04-04, 06:43
Lockup on STOP issue resolved! - by MKANET - 2015-04-11, 21:59
RE: 4G aware patch - by MagikMark - 2015-09-08, 03:27
Alt-F4 no longer quits - by JeffA - 2015-10-31, 20:38