]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decodesignal.hpp
Fix #1446 by starting the decode only for the last PD in the stack
[pulseview.git] / pv / data / decodesignal.hpp
index 8bcc562068a13d6655425b834566968bb51420cc..74ffbd1ff470c64cd88678ef429ccfc739997883 100644 (file)
@@ -100,7 +100,7 @@ public:
        bool is_decode_signal() const;
        const vector< shared_ptr<data::decode::Decoder> >& decoder_stack() const;
 
        bool is_decode_signal() const;
        const vector< shared_ptr<data::decode::Decoder> >& decoder_stack() const;
 
-       void stack_decoder(const srd_decoder *decoder);
+       void stack_decoder(const srd_decoder *decoder, bool restart_decode=true);
        void remove_decoder(int index);
        bool toggle_decoder_visibility(int index);
 
        void remove_decoder(int index);
        bool toggle_decoder_visibility(int index);