mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
gst: handle latency in the pipewiresrc
Get the delay in the graph and subtract this from the cycle start time to get the timestamp of the buffer. Report this latency as well. Fixes #30
This commit is contained in:
parent
1fe498560b
commit
2c0d73ab49
2 changed files with 17 additions and 10 deletions
|
|
@ -68,6 +68,7 @@ struct _GstPipeWireSrc {
|
|||
gboolean eos;
|
||||
|
||||
gboolean is_live;
|
||||
int64_t delay;
|
||||
GstClockTime min_latency;
|
||||
GstClockTime max_latency;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue