mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix reset part of path
This commit is contained in:
parent
f8c73553eb
commit
7fd99e2ee7
1 changed files with 0 additions and 6 deletions
|
@ -93,12 +93,6 @@ static void path_source_read(struct path *p, struct path_source *ps)
|
|||
warn("Pool underrun for path %s", path_name(p));
|
||||
|
||||
for (int i = 0; i < mux; i++) {
|
||||
/** @todo: This is ugly. We should try to make use of the 'restart' hook */
|
||||
if (read_smps[i]->flags & SAMPLE_IS_FIRST) {
|
||||
p->sequence = 0;
|
||||
p->last_sample->length = 0;
|
||||
}
|
||||
|
||||
p->last_sample->sequence = p->sequence++;
|
||||
|
||||
mapping_remap(&ps->mappings, p->last_sample, read_smps[i], NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue