Skip to content

Commit 1daec22

Browse files
committed
vcap/pipewire: Fix screen capture
1 parent cd2eb43 commit 1daec22

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

FIXES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
* fix temporarily broken r12l_to_gbrp16le (GH-476)
44
* missing arm64 macOS dependency on brotlicommon (GH-478)
55
* add libOpenGL.0.so library fallback to Linux AppImage
6+
* fix Pipewire screen capture not starting

src/video_capture/pipewire.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ static int start_pipewire(vcap_pw_state *s)
423423
auto flags = PW_STREAM_FLAG_MAP_BUFFERS |
424424
PW_STREAM_FLAG_DONT_RECONNECT;
425425

426-
if(!s->user_options.target.empty()){
426+
if(!s->user_options.target.empty() || s->mode == vcap_pw_state::Mode::Screen_capture){
427427
flags |= PW_STREAM_FLAG_AUTOCONNECT;
428428
}
429429

0 commit comments

Comments
 (0)