From 10058b623dee99ed54421ff204b51adcc9a379d0 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 10 May 2015 23:52:31 +0200 Subject: implement side-by-side-equal composition --- voctocore/lib/commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'voctocore/lib/commands.py') diff --git a/voctocore/lib/commands.py b/voctocore/lib/commands.py index f3243f3..05db54c 100644 --- a/voctocore/lib/commands.py +++ b/voctocore/lib/commands.py @@ -2,6 +2,7 @@ import logging from lib.config import Config +from lib.video.mix import CompositeModes class ControlServerCommands(): log = logging.getLogger('ControlServerCommands') @@ -35,5 +36,6 @@ class ControlServerCommands(): return True def set_composite_mode(self, composite_mode): - self.pipeline.vmixer.set_composite_mode(src_name_or_id) + mode = CompositeModes[composite_mode] + self.pipeline.vmixer.setCompositeMode(mode) return True -- cgit v1.2.3