mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 20:46:05 +00:00
camera: don't use newer PipeWire cleanup features
This commit is contained in:
parent
2b9ac185cd
commit
8186e4b322
1 changed files with 1 additions and 2 deletions
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "../SDL_syscamera.h"
|
||||
|
||||
#include <spa/utils/cleanup.h>
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/pod/builder.h>
|
||||
#include <spa/pod/iter.h>
|
||||
|
|
@ -489,7 +488,7 @@ static int PIPEWIRECAMERA_OpenDevice(SDL_CameraDevice *device, const SDL_CameraS
|
|||
}
|
||||
|
||||
device->hidden->stream = PIPEWIRE_pw_stream_new(hotplug.core,
|
||||
"SDL PipeWire Camera", spa_steal_ptr(props));
|
||||
"SDL PipeWire Camera", props);
|
||||
if (device->hidden->stream == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue