Set update fps to video fps, on x11 sync video to damage tracking

This commit is contained in:
dec05eba
2024-09-14 01:15:01 +02:00
parent 992792fb1f
commit 8acb346382
14 changed files with 439 additions and 207 deletions

View File

@@ -16,6 +16,11 @@ void gsr_capture_tick(gsr_capture *cap, AVCodecContext *video_codec_context) {
cap->tick(cap, video_codec_context);
}
void gsr_capture_on_event(gsr_capture *cap, gsr_egl *egl) {
if(cap->on_event)
cap->on_event(cap, egl);
}
bool gsr_capture_should_stop(gsr_capture *cap, bool *err) {
assert(cap->started);
if(cap->should_stop)