mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
gst: keep track of clock time
Invalidate the clock when the stream is destroyed and let the new clock take the time of previous clock when no timing info is available.
This commit is contained in:
parent
5a3883509b
commit
a2cfb0882b
4 changed files with 18 additions and 9 deletions
|
|
@ -82,6 +82,7 @@ struct _GstPipeWireSrc {
|
|||
GstPipeWirePool *pool;
|
||||
GQueue queue;
|
||||
GstClock *clock;
|
||||
GstClockTime last_time;
|
||||
};
|
||||
|
||||
struct _GstPipeWireSrcClass {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue