Skip to content
Snippets Groups Projects
Commit 7fd99e2e authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

fix reset part of path

parent f8c73553
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment