diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-01-11 17:24:57 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-01-11 22:31:31 -0800 |
commit | d14cebc92e76ba005c328b4805a9c9412bb97608 (patch) | |
tree | 12043fd286ea13d09fb9ea4a0e0d4b010f719c66 | |
parent | 83e41d07fa1e219da55c26efe4fbe4ca4045362a (diff) |
modules/montage: omit experimental and hermetic modules
As with the other composite modules, if --experimental happens
this will need adjustment to honor it.
For now let's just prevent things from breaking when those
modules start appearing.
-rw-r--r-- | src/modules/montage/montage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/montage/montage.c b/src/modules/montage/montage.c index 3ab944f..9315e79 100644 --- a/src/modules/montage/montage.c +++ b/src/modules/montage/montage.c @@ -59,7 +59,8 @@ static til_module_context_t * montage_create_context(til_stream_t *stream, unsig if (module == &montage_module || /* prevents recursion */ module == rtv_module || /* also prevents recursion, rtv can run montage */ - module == compose_module) /* also prevents recursion, compose can run montage */ + module == compose_module || /* also prevents recursion, compose can run montage */ + (module->flags & (TIL_MODULE_HERMETIC | TIL_MODULE_EXPERIMENTAL))) /* prevents breakages */ continue; /* XXX FIXME: there's another recursive problem WRT threaded |