Fixed the video decoder deadlock when using HW decoding.

This commit is contained in:
Nils Hasenbanck 2020-01-08 21:51:22 +01:00
parent a82582e859
commit 1f673be3c8

View file

@ -1531,7 +1531,7 @@ static void decode_thread_seek(double time)
} }
static bool earlier_or_close_enough(double p1, double p2) { static bool earlier_or_close_enough(double p1, double p2) {
return (p1 <= p2 || (p1-p2) <= 0.1); return (p1 <= p2 || (p1-p2) <= 0.001);
} }
static void decode_thread(void *data) static void decode_thread(void *data)