mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-26 07:00:13 -05:00
context: add option to disable registry
This commit is contained in:
parent
c29fed1ac8
commit
02d4dc0efd
9 changed files with 44 additions and 23 deletions
|
|
@ -373,7 +373,7 @@ gst_pinos_device_provider_probe (GstDeviceProvider * provider)
|
|||
if (!(c = pinos_context_new (l, self->client_name, NULL)))
|
||||
goto failed;
|
||||
|
||||
pinos_context_connect (c);
|
||||
pinos_context_connect (c, 0);
|
||||
|
||||
for (;;) {
|
||||
PinosContextState state;
|
||||
|
|
@ -479,7 +479,7 @@ gst_pinos_device_provider_start (GstDeviceProvider * provider)
|
|||
&self->ctx_subscription,
|
||||
on_context_subscription);
|
||||
|
||||
pinos_context_connect (self->context);
|
||||
pinos_context_connect (self->context, 0);
|
||||
for (;;) {
|
||||
PinosContextState state;
|
||||
|
||||
|
|
|
|||
|
|
@ -823,7 +823,7 @@ gst_pinos_sink_open (GstPinosSink * pinossink)
|
|||
|
||||
pinos_signal_add (&pinossink->ctx->state_changed, &pinossink->ctx_state_changed, on_ctx_state_changed);
|
||||
|
||||
pinos_context_connect (pinossink->ctx);
|
||||
pinos_context_connect (pinossink->ctx, PINOS_CONTEXT_FLAG_NO_REGISTRY);
|
||||
|
||||
while (TRUE) {
|
||||
PinosContextState state = pinossink->ctx->state;
|
||||
|
|
|
|||
|
|
@ -1037,7 +1037,7 @@ gst_pinos_src_open (GstPinosSrc * pinossrc)
|
|||
|
||||
pinos_signal_add (&pinossrc->ctx->state_changed, &pinossrc->ctx_state_changed, on_ctx_state_changed);
|
||||
|
||||
pinos_context_connect (pinossrc->ctx);
|
||||
pinos_context_connect (pinossrc->ctx, PINOS_CONTEXT_FLAG_NO_REGISTRY);
|
||||
|
||||
while (TRUE) {
|
||||
PinosContextState state = pinossrc->ctx->state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue