Fix vram leak for reals

This commit is contained in:
dec05eba
2023-10-22 04:56:34 +02:00
parent 44d50065b9
commit 51154b71be
9 changed files with 72 additions and 15 deletions

View File

@@ -2186,6 +2186,8 @@ int main(int argc, char **argv) {
fprintf(stderr, "Error: avcodec_send_frame failed, error: %s\n", av_error_to_string(ret));
}
}
gsr_capture_end(capture, frame);
video_pts_counter += num_frames;
}
}