mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-19 05:33:49 -04:00
gst: src: Change DEFAULT_MIN_BUFFERS back to 1
The change from 1 to 8 was done without justification in the commit
message and possibly for debug purposes. Unfortunately it breaks
negotiation with the libcamera virtual pipeline, which defaults to
4 buffers.
Set the the value to 1 again as successful negotiation - even with an
unusually low number of buffers - is usually more desirable than an
error.
Fixes: 98b7dc7c0 ("gst: don't do set_caps from the pipewire callback")
This commit is contained in:
parent
737ca4ee7b
commit
e81fb77322
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ GST_DEBUG_CATEGORY_STATIC (pipewire_src_debug);
|
||||||
#define GST_CAT_DEFAULT pipewire_src_debug
|
#define GST_CAT_DEFAULT pipewire_src_debug
|
||||||
|
|
||||||
#define DEFAULT_ALWAYS_COPY false
|
#define DEFAULT_ALWAYS_COPY false
|
||||||
#define DEFAULT_MIN_BUFFERS 8
|
#define DEFAULT_MIN_BUFFERS 1
|
||||||
#define DEFAULT_MAX_BUFFERS INT32_MAX
|
#define DEFAULT_MAX_BUFFERS INT32_MAX
|
||||||
#define DEFAULT_RESEND_LAST false
|
#define DEFAULT_RESEND_LAST false
|
||||||
#define DEFAULT_KEEPALIVE_TIME 0
|
#define DEFAULT_KEEPALIVE_TIME 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue