From 46aace37db5c035a6d6b432db261dc7c417456f4 Mon Sep 17 00:00:00 2001 From: Markus Otto Date: Sat, 22 Aug 2015 19:15:22 +0200 Subject: make protocol work, some gui stuff --- voctocore/lib/videomix.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'voctocore/lib/videomix.py') 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() -- cgit v1.2.3