From b9e3f1a2733d56c2410fdec0f0864db6ae728d74 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 24 Aug 2014 17:25:06 +0200 Subject: move name-setting to pipeline --- voctocore/lib/shmsrc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'voctocore/lib/shmsrc.py') diff --git a/voctocore/lib/shmsrc.py b/voctocore/lib/shmsrc.py index 53a7d9d..7c80199 100644 --- a/voctocore/lib/shmsrc.py +++ b/voctocore/lib/shmsrc.py @@ -9,9 +9,8 @@ class FailsafeShmSrc(Gst.Bin): last_buffer_arrived = 0 is_in_failstate = True - def __init__(self, name, socket): + def __init__(self, socket): super().__init__() - self.set_name(socket) caps = Gst.Caps.from_string(Config.get('sources', 'videocaps')) self.log.debug('parsing videocaps from config: %s', caps.to_string()) -- cgit v1.2.3