mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-19 19:42:24 +02:00
ao: use the right type for pending samples
This commit is contained in:
parent
571f9b0f23
commit
2559f8874f
@ -311,7 +311,7 @@ double ao_get_delay(struct ao *ao)
|
||||
driver_delay = MPMAX(0, MP_TIME_NS_TO_S(end - now));
|
||||
}
|
||||
|
||||
int pending = mp_async_queue_get_samples(p->queue);
|
||||
int64_t pending = mp_async_queue_get_samples(p->queue);
|
||||
if (p->pending)
|
||||
pending += mp_aframe_get_size(p->pending);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user