summaryrefslogtreecommitdiff
path: root/voctocore/lib/avpreviewoutput.py
diff options
context:
space:
mode:
authorMaZderMind <peter@mazdermind.de>2015-08-29 13:21:13 +0200
committerMaZderMind <peter@mazdermind.de>2015-08-29 13:21:13 +0200
commit0d7132d4f640d71afb235007e4333c55563be210 (patch)
treedce424dacd1de6a7613b23f0c191c2224baf6551 /voctocore/lib/avpreviewoutput.py
parent3781d4aa96a6ad6db3c9b9a3967fefaace8f413d (diff)
fix on_accepted call in preview ports
Diffstat (limited to 'voctocore/lib/avpreviewoutput.py')
-rw-r--r--voctocore/lib/avpreviewoutput.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py
index 0a6123f..b6c0fc1 100644
--- a/voctocore/lib/avpreviewoutput.py
+++ b/voctocore/lib/avpreviewoutput.py
@@ -58,7 +58,7 @@ class AVPreviewOutput(TCPMultiConnection):
self.log.debug('Launching Output-Pipeline')
self.outputPipeline.set_state(Gst.State.PLAYING)
- def on_accepted(self, conn):
+ def on_accepted(self, conn, addr):
self.log.debug('Adding fd %u to multifdsink', conn.fileno())
fdsink = self.outputPipeline.get_by_name('fd')
fdsink.emit('add', conn.fileno())