Skip to content

Commit

Permalink
Merge pull request #101 from quexten/fix/pipewire-restart
Browse files Browse the repository at this point in the history
Fix restart on pipewire capturer
  • Loading branch information
clearlysid authored Jul 29, 2024
2 parents 1b7c70d + 0973f45 commit 0e75ae8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/capturer/engine/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ impl LinuxCapturer {
eprintln!("Error occured capturing: {e}");
}
}
CAPTURER_STATE.store(0, std::sync::atomic::Ordering::Relaxed);
STREAM_STATE_CHANGED_TO_ERROR.store(false, std::sync::atomic::Ordering::Relaxed);
}
}

Expand Down

0 comments on commit 0e75ae8

Please sign in to comment.