mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
gst: don't do set_caps from the pipewire callback
Don't do any GStreamer data transport from the PipeWire callback because it might block in preroll and block our communication with PipeWire. Instead, take the caps and wake up the caller to continue with negotiation.
This commit is contained in:
parent
34334b6ea3
commit
98b7dc7c0c
2 changed files with 25 additions and 16 deletions
|
|
@ -68,6 +68,8 @@ struct _GstPipeWireSrc {
|
|||
gboolean resend_last;
|
||||
gint keepalive_time;
|
||||
|
||||
GstCaps *caps;
|
||||
|
||||
gboolean negotiated;
|
||||
gboolean flushing;
|
||||
gboolean started;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue