mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
stream: enable videoadapter in all cases
It works fine without an explicitly selected converter.
This commit is contained in:
parent
7b30e515be
commit
b57375ba85
1 changed files with 2 additions and 3 deletions
|
|
@ -2059,9 +2059,8 @@ pw_stream_connect(struct pw_stream *stream,
|
|||
if (pw_properties_get(props, PW_KEY_PORT_GROUP) == NULL)
|
||||
pw_properties_set(props, PW_KEY_PORT_GROUP, "stream.0");
|
||||
|
||||
if (impl->media_type == SPA_MEDIA_TYPE_audio
|
||||
|| (impl->media_type == SPA_MEDIA_TYPE_video
|
||||
&& pw_properties_get(props, "video.adapt.converter"))) {
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue