Skip to content
Snippets Groups Projects
Commit e84ca8d3 authored by Marton Balint's avatar Marton Balint
Browse files

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: default avatarMarton Balint <cus@passwd.hu>
parent 608989f6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment