projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #121 by implementing sticky scrolling
[pulseview.git]
/
pv
/
data
/
decoderstack.cpp
diff --git
a/pv/data/decoderstack.cpp
b/pv/data/decoderstack.cpp
index 7c1982bd707aeec31b46735b80f88f2c17d1215b..201c87f7fc668596fe49c0b30ffccc4a2b49ec77 100644
(file)
--- a/
pv/data/decoderstack.cpp
+++ b/
pv/data/decoderstack.cpp
@@
-312,7
+312,7
@@
void DecoderStack::decode_data(
i + chunk_sample_count, sample_count);
segment_->get_samples(chunk, i, chunk_end);
i + chunk_sample_count, sample_count);
segment_->get_samples(chunk, i, chunk_end);
- if (srd_session_send(session, i,
i + sample_count
, chunk,
+ if (srd_session_send(session, i,
chunk_end
, chunk,
(chunk_end - i) * unit_size) != SRD_OK) {
error_message_ = tr("Decoder reported an error");
break;
(chunk_end - i) * unit_size) != SRD_OK) {
error_message_ = tr("Decoder reported an error");
break;