Skip to content
Snippets Groups Projects
Commit b1f78632 authored by Marton Balint's avatar Marton Balint
Browse files

ffplay: do not block audio thread on WIN32


The windows SDL audio driver plays the old data in the buffer in a loop if it
is not updated in time. So instead of waiting for data and blocking the the
audio thread, return silence if no data is available.

Should fix ticket #2289.

Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
parent 8db0f71b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment