2018-03-31, 00:57
(2018-03-31, 00:32)brazen1 Wrote: Bibio, fyi:i see what your getting at but in reality it makes no odds whats in there, yes it would more than likely be easier for people to read.
UHD = 2160p
FHD = 1080p
HD = 720p
SD = 540p, etc.
That code you put up earlier may want to reflect these differently.
you already know this so its for other people reading,
it does not matter what you put in the "??" part. the boolean is "do this" as long as you create each profile with the same reference then all is fine. let me explain. if (srcWidth = 1080) "HD" would look at the name next to the folder in the profile group which is HD.
the boolean is saying, if the screen width is equal to 1080 then use HD profile. it could just as well be written, if (srcWidth = 1080) "make_it_happen1" as long as the profile has make_it_happen1 written next to it.