summaryrefslogtreecommitdiff
path: root/voctocore/lib/commands.py
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-10 23:52:31 +0200
committerMaZderMind <github@mazdermind.de>2015-05-10 23:52:31 +0200
commit10058b623dee99ed54421ff204b51adcc9a379d0 (patch)
treeea58d8bfb7eb4e7f667e7c8a25ce0fc40e302537 /voctocore/lib/commands.py
parente2602d0aecefccd10fbe1a0cce13bb9f68e60830 (diff)
implement side-by-side-equal composition
Diffstat (limited to 'voctocore/lib/commands.py')
-rw-r--r--voctocore/lib/commands.py4
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