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

ffplay: use videoq.serial to detect obsolete frames


Previously VideoPicture->skip was used for that, using videoq.serial enables us
to detect obsolete frames right after pushing flush_pkt to the packet queue, so
we don't have to wait for the decoder thread to pop the flush packet anymore.

This is good because until now a full video picture queue may have blocked the
decoder thread.

Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
parent d00df260
No related branches found
No related tags found
No related merge requests found
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