diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-01-02 08:10:52 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-01-02 08:10:52 -0800 |
commit | 9163bdc38a69f36310303f8d491f0d6279d1a2f5 (patch) | |
tree | bbd3d619d10a3ce7f3c9845294aced0249c8785b /audio/decode/dec_audio.c | |
parent | d5f29a3c363582336755f9a46d41b89ddf174ed4 (diff) | |
download | mpv-9163bdc38a69f36310303f8d491f0d6279d1a2f5.tar.bz2 mpv-9163bdc38a69f36310303f8d491f0d6279d1a2f5.tar.xz |
ao_wasapi: fix delay calculation again
Apparently it's only wine where the qpc_position returned by
IAudioClock_GetPosition can be overflowed. So actually do the rescaling
correctly, but throw away the result if it looks unreasonable.
this fixes a regression in 5afa68835ade9f21f9c709f791319bf9d2e35265
Diffstat (limited to 'audio/decode/dec_audio.c')
0 files changed, 0 insertions, 0 deletions