summaryrefslogtreecommitdiff
path: root/voctocore/lib/videomix.py
diff options
context:
space:
mode:
authorMarkus Otto <otto@fs.tum.de>2015-08-22 19:15:22 +0200
committerMaZderMind <git@mazdermind.de>2015-08-31 20:02:04 +0200
commit46aace37db5c035a6d6b432db261dc7c417456f4 (patch)
treecc98a569c8c02491ce59cbf5b9a5613c96fd78b2 /voctocore/lib/videomix.py
parent5c243f1cac5cc489f3bbb821ab5064d9edf7d449 (diff)
make protocol work, some gui stuff
Diffstat (limited to 'voctocore/lib/videomix.py')
-rw-r--r--voctocore/lib/videomix.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/voctocore/lib/videomix.py b/voctocore/lib/videomix.py
index e0beefb..053219a 100644
--- a/voctocore/lib/videomix.py
+++ b/voctocore/lib/videomix.py
@@ -4,6 +4,7 @@ from gi.repository import Gst
from enum import Enum
from lib.config import Config
+from lib.notifications import notify_all
class CompositeModes(Enum):
fullscreen = 0
@@ -312,6 +313,7 @@ class VideoMix(object):
# swap if required
if self.sourceB == source:
self.sourceB = self.sourceA
+ notify_all("signal set video b %s\n" % self.sourceB)
self.sourceA = source
self.recalculateMixerState()
@@ -323,6 +325,7 @@ class VideoMix(object):
# swap if required
if self.sourceA == source:
self.sourceA = self.sourceB
+ notify_all("signal set video b %s\n" % self.sourceA)
self.sourceB = source
self.recalculateMixerState()