mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -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
|
|
@ -50,6 +50,8 @@ struct _GstPipeWireSink {
|
|||
|
||||
/* video state */
|
||||
gboolean negotiated;
|
||||
gboolean rate_match;
|
||||
gint rate;
|
||||
|
||||
GstPipeWireSinkMode mode;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue