Skip to content

Commit

Permalink
Make STREAM_STATE_CHANGED_TO_ERROR reset on stop_capture
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Jul 21, 2024
1 parent 2681ef1 commit 0973f45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/capturer/engine/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ impl LinuxCapturer {
}
}
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 0973f45

Please sign in to comment.