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 2a59b6d commit 2d72943Copy full SHA for 2d72943
src/video_capture/testcard.c
@@ -706,8 +706,7 @@ static audio_frame *vidcap_testcard_get_audio(struct testcard_state *s)
706
static struct video_frame *vidcap_testcard_grab(void *arg, struct audio_frame **audio)
707
{
708
struct testcard_state *state = arg;
709
-
710
- if (state->video_frames + 1 == state->capture_frames) {
+ if (state->video_frames == state->capture_frames) {
711
return NULL;
712
}
713
time_ns_t curr_time = 0;
0 commit comments