libobs: UI: Add Area scaling for downscale output

Now that Lanczos downscale blurring has been removed, the Area shader
can attempt to fill the void.
This commit is contained in:
jpark37
2019-08-14 22:29:30 -07:00
parent 6b81f6cd8f
commit 0ea820b277
4 changed files with 10 additions and 0 deletions

View File

@@ -3447,6 +3447,8 @@ static inline enum obs_scale_type GetScaleType(ConfigFile &basicConfig)
return OBS_SCALE_BILINEAR;
else if (astrcmpi(scaleTypeStr, "lanczos") == 0)
return OBS_SCALE_LANCZOS;
else if (astrcmpi(scaleTypeStr, "area") == 0)
return OBS_SCALE_AREA;
else
return OBS_SCALE_BICUBIC;
}