Skip to content

Commit

Permalink
restart capture when no video data is received (13)
Browse files Browse the repository at this point in the history
  • Loading branch information
TBSniller authored Dec 13, 2023
1 parent 10b638f commit 09cc8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/libvtcapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ int capture_wait(void* state)
return -99; // Restart video capture
}
return -1;
} else if (ret == 12) {
} else if (ret == 12 || ret == 13) {
ERR("vtCapture_currentCaptureBuffInfo() failed: %d", ret);
DBG("Returning with video capture stop (-99), to get restarted in next routine.");
return -99; // Restart video capture
Expand Down

0 comments on commit 09cc8df

Please sign in to comment.