summaryrefslogtreecommitdiff
path: root/voctocore/lib/videomix.py
diff options
context:
space:
mode:
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()