diff options
author | Marton Balint <cus@passwd.hu> | 2012-08-28 00:00:15 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2012-08-31 21:00:20 +0200 |
commit | 0e5042be284182823223a8c3d0006298ba16c921 (patch) | |
tree | dedadc04d0cddb4293150d204dc8ee061e96662d /libavutil/des.c | |
parent | 4a45e722e373c85cae7b5d57fb6bb7e295e664e0 (diff) | |
download | ffmpeg-0e5042be284182823223a8c3d0006298ba16c921.tar.gz |
ffplay: replace SDL_delay in read thread with SDL_CondWait
When the audio queue was empty, it was not filled until the 10ms delay expired
in the read thread. This patch changes the delay method with a condition wait,
which reacts to an empty queue a lot faster, therefore the audio buffer
underruns become less common especially after seeking.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavutil/des.c')
0 files changed, 0 insertions, 0 deletions