diff options
author | Marton Balint <[email protected]> | 2013-07-16 03:04:22 +0200 |
---|---|---|
committer | Marton Balint <[email protected]> | 2013-08-09 00:16:13 +0200 |
commit | e84ca8d38a18deac55dbc2c9337a7588337039cc (patch) | |
tree | 8f93247aa0f308d501d534a028ce3e82273dd0b0 /libavformat/utils.c | |
parent | 608989f6bf8ed53fcfef45f49465326d634040a5 (diff) |
ffplay: ensure the decoder is flushed before exiting or looping
Also make sure that we only exit or restart the video if it is not paused and
if the picture queue is empty.
There is still room for improvement (filters may also buffer some frames), but
the patch fixes the most common use cases and ticket #2783 as well.
Signed-off-by: Marton Balint <[email protected]>
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions