mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-29 22:20:24 +00:00
Fix only capturing a single frame on macOS
This commit is contained in:
parent
bee9215805
commit
a29d2e11ea
@ -74,7 +74,7 @@ namespace platf {
|
||||
img_out->row_pitch = CVPixelBufferGetBytesPerRow(pixelBuffer);
|
||||
img_out->pixel_pitch = img_out->row_pitch / img_out->width;
|
||||
|
||||
if (!push_captured_image_cb(std::move(img_out), false)) {
|
||||
if (!push_captured_image_cb(std::move(img_out), true)) {
|
||||
// got interrupt signal
|
||||
// returning false here stops capture backend
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user