We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98304e7 commit e1f991aCopy full SHA for e1f991a
src/video_capture/pipewire.cpp
@@ -423,7 +423,7 @@ static int start_pipewire(vcap_pw_state *s)
423
auto flags = PW_STREAM_FLAG_MAP_BUFFERS |
424
PW_STREAM_FLAG_DONT_RECONNECT;
425
426
- if(!s->user_options.target.empty()){
+ if(!s->user_options.target.empty() || s->mode == vcap_pw_state::Mode::Screen_capture){
427
flags |= PW_STREAM_FLAG_AUTOCONNECT;
428
}
429
0 commit comments