0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

linux-capture: Fix missing parameter for pipewire capture

Commit a3a6710 introduced the obs_pipewire_save() function in the
PipeWire code, but only set it to the monitor capture source. This
was an oversight, it should have been set to the window capture
source as well.

Set the .save vfunc of the window capture source as well.

Closes obsproject/obs-studio#5906
This commit is contained in:
Cenk Uluisik 2022-02-02 22:33:31 +01:00 committed by Georges Basile Stavracas Neto
parent c71abfbd8c
commit f52f34b614

View File

@ -161,6 +161,7 @@ void pipewire_capture_load(void)
.get_name = pipewire_window_capture_get_name,
.create = pipewire_window_capture_create,
.destroy = pipewire_capture_destroy,
.save = pipewire_capture_save,
.get_defaults = pipewire_capture_get_defaults,
.get_properties = pipewire_capture_get_properties,
.update = pipewire_capture_update,