Re: [FFmpeg-devel] [PATCH] ffplay: do not block audio thread on WIN32

2015-08-05 Thread Marton Balint
On Tue, 4 Aug 2015, Michael Niedermayer wrote: On Tue, Aug 04, 2015 at 01:00:52AM +0200, Marton Balint wrote: 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 i

Re: [FFmpeg-devel] [PATCH] ffplay: do not block audio thread on WIN32

2015-08-04 Thread Michael Niedermayer
On Tue, Aug 04, 2015 at 01:00:52AM +0200, Marton Balint wrote: > 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

[FFmpeg-devel] [PATCH] ffplay: do not block audio thread on WIN32

2015-08-03 Thread Marton Balint
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. Signed-off-by: Marton Balint --- ffplay.c | 7 +++ 1 file