From 29bcebe4fe59faf708032ec00fde439e6d6433ac Mon Sep 17 00:00:00 2001 From: columbarius Date: Thu, 31 Aug 2023 01:34:21 +0200 Subject: [PATCH] stream: wrap video streams with adapter node --- src/pipewire/stream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pipewire/stream.c b/src/pipewire/stream.c index d5604485d..a77a1a1c5 100644 --- a/src/pipewire/stream.c +++ b/src/pipewire/stream.c @@ -2077,7 +2077,8 @@ pw_stream_connect(struct pw_stream *stream, pw_properties_set(props, PW_KEY_PORT_IGNORE_LATENCY, "true"); } - if (impl->media_type == SPA_MEDIA_TYPE_audio) { + if (impl->media_type == SPA_MEDIA_TYPE_audio + || impl->media_type == SPA_MEDIA_TYPE_video) { factory = pw_context_find_factory(impl->context, "adapter"); if (factory == NULL) { pw_log_error("%p: no adapter factory found", stream);