]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decoderstack.cpp
SignalData: Moved start_time into Snapshot
[pulseview.git] / pv / data / decoderstack.cpp
index bb2818bb79aab0d2c336a0045d5e0a0eb3c2a5a6..e5a758773b17d0a886b424492fbd50dad59fb6e7 100644 (file)
@@ -263,7 +263,7 @@ void DecoderStack::begin_decode()
        snapshot_ = snapshots.front();
 
        // Get the samplerate and start time
-       start_time_ = data->get_start_time();
+       start_time_ = snapshot_->start_time();
        samplerate_ = data->samplerate();
        if (samplerate_ == 0.0)
                samplerate_ = 1.0;