gst: mark the pipewiresink as EARLY_PROCESS

We want to receive process callbacks as soon as a buffer is ready for
reuse because we dequeue it for use in our buffer pool.
This commit is contained in:
Wim Taymans 2024-11-26 16:57:14 +01:00
parent 25e06e5912
commit ef8d2ab125

View file

@ -633,6 +633,7 @@ gst_pipewire_sink_setcaps (GstBaseSink * bsink, GstCaps * caps)
char buf[64];
flags = PW_STREAM_FLAG_ASYNC;
flags |= PW_STREAM_FLAG_EARLY_PROCESS;
if (pwsink->mode != GST_PIPEWIRE_SINK_MODE_PROVIDE)
flags |= PW_STREAM_FLAG_AUTOCONNECT;
else