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