fix audio compression switching
This commit is contained in:
parent
d869c5ee2d
commit
c3917c61d3
@ -115,7 +115,7 @@ class Chain(Module):
|
||||
removedWorker.stop()
|
||||
|
||||
if index == 0:
|
||||
if self.reader is not None:
|
||||
if self.reader is not None and len(self.workers):
|
||||
self.workers[0].setReader(self.reader)
|
||||
elif index == len(self.workers):
|
||||
if self.writer is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user