mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
link: fix param enumeration
When the input port param enumeration has no result, use the NULL filter to still enumerate the output port parameters instead of returning nothing. Fix the offset in the gst element.
This commit is contained in:
parent
263a017c4b
commit
e2c49199f6
2 changed files with 13 additions and 3 deletions
|
|
@ -467,6 +467,7 @@ on_new_buffer (void *_data,
|
|||
GstMemory *mem = gst_buffer_peek_memory (buf, i);
|
||||
mem->offset = SPA_MIN(d->chunk->offset, d->maxsize);
|
||||
mem->size = SPA_MIN(d->chunk->size, d->maxsize - mem->offset);
|
||||
mem->offset += data->offset;
|
||||
}
|
||||
|
||||
if (pwsrc->always_copy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue