From d14cebc92e76ba005c328b4805a9c9412bb97608 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 11 Jan 2023 17:24:57 -0800 Subject: 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. --- src/modules/montage/montage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3