diff options
Diffstat (limited to 'voctocore/lib')
-rw-r--r-- | voctocore/lib/pipeline.py | 2 | ||||
-rw-r--r-- | voctocore/lib/shmsrc.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/voctocore/lib/pipeline.py b/voctocore/lib/pipeline.py index aa9754c..112ac3e 100644 --- a/voctocore/lib/pipeline.py +++ b/voctocore/lib/pipeline.py @@ -49,7 +49,7 @@ class Pipeline(Gst.Pipeline): socket = os.path.join(socketpath, 'v-'+name) self.log.info('Creating video-source %s at socket-path %s', name, socket) - sourcebin = FailsafeShmSrc(name, socket) + sourcebin = FailsafeShmSrc(socket) self.add(sourcebin) self.quadmixer.add_source(sourcebin) 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()) |