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 c5b388e commit 194cbeaCopy full SHA for 194cbea
src/capturer/engine/win/mod.rs
@@ -116,9 +116,7 @@ impl GraphicsCaptureApiHandler for Capturer {
116
data: raw_frame_buffer.to_vec(),
117
};
118
119
- self.tx
120
- .send(Frame::Video(VideoFrame::BGRA(bgr_frame)))
121
- .expect("Failed to send data");
+ let _ = self.tx.send(Frame::Video(VideoFrame::BGRA(bgr_frame)));
122
}
123
None => {
124
// get raw frame buffer
@@ -136,9 +134,7 @@ impl GraphicsCaptureApiHandler for Capturer {
136
134
data: frame_data,
137
135
138
139
140
141
142
143
144
Ok(())
0 commit comments