mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
gst: add rate control to the sink
Track the elapsed time between buffers and try to keep the buffer fill level constant by changing the rate of the stream. See #4374
This commit is contained in:
parent
22f0b858b1
commit
9419a12e74
5 changed files with 66 additions and 7 deletions
|
|
@ -19,6 +19,7 @@ gst_pipewire_stream_init (GstPipeWireStream * self)
|
|||
self->fd = -1;
|
||||
self->client_name = g_strdup (pw_get_client_name());
|
||||
self->pool = gst_pipewire_pool_new (self);
|
||||
spa_dll_init(&self->dll);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue