diff options
author | Marton Balint <cus@passwd.hu> | 2015-02-08 19:30:46 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2015-08-05 21:09:30 +0200 |
commit | b1f78632c681f32c4901a85aa7ee72bf9ca6fece (patch) | |
tree | cb774cb604e71022ad2edd38059cc057a334e221 /libavcodec/mpeg12.h | |
parent | 8db0f71b49a360dd64ae482fa4244db055f117eb (diff) | |
download | ffmpeg-b1f78632c681f32c4901a85aa7ee72bf9ca6fece.tar.gz |
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: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/mpeg12.h')
0 files changed, 0 insertions, 0 deletions