summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/rtv/rtv.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c
index 373da93..7731603 100644
--- a/src/modules/rtv/rtv.c
+++ b/src/modules/rtv/rtv.c
@@ -279,7 +279,14 @@ static void rtv_prepare_frame(void *context, unsigned ticks, unsigned n_cpus, fb
if (now >= ctxt->next_hide_caption)
ctxt->caption = NULL;
- rototiller_module_render(ctxt->channel->module, ctxt->channel->module_ctxt, ticks, fragment);
+ /* there's a special-case "none" (or unconfigured) snow module, that just blanks,
+ * it's a nil module so just implement it here.
+ */
+ if (!ctxt->channel->module->render_fragment &&
+ !ctxt->channel->module->prepare_frame)
+ fb_fragment_zero(fragment);
+ else
+ rototiller_module_render(ctxt->channel->module, ctxt->channel->module_ctxt, ticks, fragment);
}
© All Rights Reserved