diff options
Diffstat (limited to 'decoders/spdif')
-rw-r--r-- | decoders/spdif/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/spdif/pd.py b/decoders/spdif/pd.py index 0c535e4..add2834 100644 --- a/decoders/spdif/pd.py +++ b/decoders/spdif/pd.py @@ -58,6 +58,9 @@ class Decoder(srd.Decoder): self.put(self.ss_edge, self.samplenum, self.out_ann, data) def __init__(self): + self.reset() + + def reset(self): self.state = 'GET FIRST PULSE WIDTH' self.ss_edge = None self.first_edge = True |