summaryrefslogtreecommitdiff
path: root/voctocore/lib/shmsrc.py
diff options
context:
space:
mode:
authorMaZderMind <peter@mazdermind.de>2014-08-24 17:25:06 +0200
committerMaZderMind <peter@mazdermind.de>2014-08-24 17:25:06 +0200
commitb9e3f1a2733d56c2410fdec0f0864db6ae728d74 (patch)
treef7fada6f62283864058d28670207e668cfe3434c /voctocore/lib/shmsrc.py
parent90001a38c03e41faeccd0b959753a00db670c61a (diff)
move name-setting to pipeline
Diffstat (limited to 'voctocore/lib/shmsrc.py')
-rw-r--r--voctocore/lib/shmsrc.py3
1 files changed, 1 insertions, 2 deletions
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())