config: introduce new syntax for blur options.

Parsing only, not used yet.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-06-01 00:39:00 +01:00
parent 4a74b4f199
commit 82b9822fd0
7 changed files with 72 additions and 11 deletions

View File

@@ -1143,7 +1143,7 @@ bool init_render(session_t *ps) {
}
// Blur filter
if (ps->o.blur_background || ps->o.blur_background_frame) {
if (ps->o.blur_method || ps->o.blur_background_frame) {
bool ret = false;
if (ps->o.backend == BKEND_GLX) {
#ifdef CONFIG_OPENGL