const shared_ptr<pv::data::LogicSnapshot> &snapshot =
snapshots.front();
- const int64_t sample_count = snapshot->get_sample_count() - 1;
+ const int64_t sample_count = snapshot->get_sample_count();
const unsigned int chunk_sample_count =
DecodeChunkLength / snapshot->unit_size();
+ // Clear error message upon every new session run
+ _error_message = QString();
+
// Create the session
srd_session_new(&session);
assert(session);