summaryrefslogtreecommitdiff
path: root/decoders/parallel/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/parallel/pd.py')
-rw-r--r--decoders/parallel/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py
index 2de9dde..9c20354 100644
--- a/decoders/parallel/pd.py
+++ b/decoders/parallel/pd.py
@@ -99,8 +99,8 @@ class Decoder(srd.Decoder):
self.state = 'IDLE'
def start(self, metadata):
- self.out_proto = self.add(srd.OUTPUT_PYTHON, 'parallel')
- self.out_ann = self.add(srd.OUTPUT_ANN, 'parallel')
+ self.out_proto = self.register(srd.OUTPUT_PYTHON)
+ self.out_ann = self.register(srd.OUTPUT_ANN)
def report(self):
pass