diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2022-11-26 05:20:58 +0100 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2022-12-22 15:14:08 -0800 |
commit | 657fd2804c75fd4c838012ecbf5ce4536e4d487b (patch) | |
tree | ccf01621fb3a6d1028090fcb717f213529143fdb /demux/packet.c | |
parent | 874e28f4a41a916bb567a882063dd2589e9234e1 (diff) | |
download | mpv-657fd2804c75fd4c838012ecbf5ce4536e4d487b.tar.bz2 mpv-657fd2804c75fd4c838012ecbf5ce4536e4d487b.tar.xz |
audio: reset pull AO at end of file
When a pull AO reaches reaches EOF then ao_read_data() will set
p->playing = false.
Because the ao is marked as not playing ao_set_pause(true) will not
reset the AO.
This keeps the output stream unintentionally open.
Fixes #9835
Diffstat (limited to 'demux/packet.c')
0 files changed, 0 insertions, 0 deletions