diff options
author | wm4 <wm4@nowhere> | 2016-04-20 13:05:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-20 13:08:06 +0200 |
commit | cd9ee1a8533a3d5fb4c163802347e83c7db91923 (patch) | |
tree | 248cd881180aa405d9b26e47436348aea34d14ac /stream | |
parent | 61ac156d478951a5f58cd4b22f762f782d009964 (diff) | |
download | mpv-cd9ee1a8533a3d5fb4c163802347e83c7db91923.tar.bz2 mpv-cd9ee1a8533a3d5fb4c163802347e83c7db91923.tar.xz |
player: really start audio only once video is ready
The check whether video is ready yet was done only in STATUS_FILLING.
But it also switched to STATUS_READY, which means the next time
fill_audio_out_buffers() was called, audio would actually be started
before video.
In most situations, this bug didn't show up, because it was only
triggered if the demuxer didn't provide video packets quickly enough,
but did for audio packets.
Also log when audio is started.
(I hate fill_audio_out_buffers(), why did I write it?)
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions