diff options
Diffstat (limited to 'voctocore/lib/commands.py')
-rw-r--r-- | voctocore/lib/commands.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |