diff options
author | wm4 <wm4@nowhere> | 2014-08-22 14:20:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-22 14:22:06 +0200 |
commit | e9e73f8d035a0cbcf71c0eef3a402b49db2950f6 (patch) | |
tree | 1da608469165be4a7cee93e16ecbf9a0c7488baf /player/audio.c | |
parent | 5afc025cc9c79fdee0a0aa7453971656f67ed918 (diff) | |
download | mpv-e9e73f8d035a0cbcf71c0eef3a402b49db2950f6.tar.bz2 mpv-e9e73f8d035a0cbcf71c0eef3a402b49db2950f6.tar.xz |
video: refactor queue handling
This simplifies the code, and fixes an odd bug: the second-last frame
was displayed for a very short duration if framedrop was enabled. The
reason was that basically the time difference between second-last and
last frame were skipped, because at this point EOF was already
signaled. Also see commit b0959488 for a similar issue in the
same code.
This removes the messiness of the next_frame 2-frame queue, and
strictly runs the "new frame" code when a frame is moved to the first
position of the queue, instead of somehow messing with return codes.
This also merges update_video() into video_output_image().
Diffstat (limited to 'player/audio.c')
0 files changed, 0 insertions, 0 deletions