mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-31 21:38:19 -04:00
stream: wrap video streams with adapter node
This commit is contained in:
parent
d435a36a9f
commit
29bcebe4fe
1 changed files with 2 additions and 1 deletions
|
|
@ -2077,7 +2077,8 @@ pw_stream_connect(struct pw_stream *stream,
|
||||||
pw_properties_set(props, PW_KEY_PORT_IGNORE_LATENCY, "true");
|
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");
|
factory = pw_context_find_factory(impl->context, "adapter");
|
||||||
if (factory == NULL) {
|
if (factory == NULL) {
|
||||||
pw_log_error("%p: no adapter factory found", stream);
|
pw_log_error("%p: no adapter factory found", stream);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue