X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.cpp;h=e5a758773b17d0a886b424492fbd50dad59fb6e7;hp=bb2818bb79aab0d2c336a0045d5e0a0eb3c2a5a6;hb=7f4038d6abbe86e8a8c511df188293a704064167;hpb=99503171d4f32570829df171521b4b9cbccb0503 diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index bb2818b..e5a7587 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -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;