mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
path: fix missing data bug with JSON format
This commit is contained in:
parent
c4baea1562
commit
bf12c174f2
1 changed files with 1 additions and 4 deletions
|
@ -116,11 +116,8 @@ static void path_source_read(struct path_source *ps, struct path *p, int i)
|
|||
? sample_clone(p->last_sample)
|
||||
: sample_clone(muxed_smps[i-1]);
|
||||
|
||||
muxed_smps[i]->flags = 0;
|
||||
if (p->original_sequence_no) {
|
||||
if (p->original_sequence_no)
|
||||
muxed_smps[i]->sequence = tomux_smps[i]->sequence;
|
||||
muxed_smps[i]->flags |= tomux_smps[i]->flags & SAMPLE_HAS_SEQUENCE;
|
||||
}
|
||||
else {
|
||||
muxed_smps[i]->sequence = p->last_sequence++;
|
||||
muxed_smps[i]->flags |= SAMPLE_HAS_SEQUENCE;
|
||||
|
|
Loading…
Add table
Reference in a new issue