deps/libff: Fix incorrect timer triggering (twice)
Sometimes the timer will be triggered twice in one request. GIF files can be rendered in wrong speed. Closes jp9000/obs-studio#513
This commit is contained in:
parent
e3a9f395a6
commit
07ecdaf8d3
3
deps/libff/libff/ff-timer.c
vendored
3
deps/libff/libff/ff-timer.c
vendored
@ -51,6 +51,9 @@ static void *timer_thread(void *opaque)
|
||||
- current_time));
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&timer->mutex);
|
||||
continue;
|
||||
|
||||
// we can be woken up merely to set a sooner wake time
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user