1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00
mpv/audio/decode
wm4 986099d323 audio: fix race condition in EOF code
Don't return an EOF code if there's still buffered data.

Also, don't call demux_stream_eof() in the playloop. There's probably
nothing wrong with it, but it's cleaner not to use it.

Also give AD_EOF its own value, so that a decoding error doesn't drain
audio by causing an EOF condition.
2014-07-24 15:26:07 +02:00
..
ad_lavc.c audio: move initial decode to generic code 2014-07-21 19:29:58 +02:00
ad_mpg123.c audio: move initial decode to generic code 2014-07-21 19:29:58 +02:00
ad_spdif.c audio: move initial decode to generic code 2014-07-21 19:29:58 +02:00
ad.h audio: move initial decode to generic code 2014-07-21 19:29:58 +02:00
dec_audio.c audio: fix race condition in EOF code 2014-07-24 15:26:07 +02:00
dec_audio.h audio: fix race condition in EOF code 2014-07-24 15:26:07 +02:00