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

ffplay: flush codec buffers before freeing filters


We do this to ensure that input_get_buffer is not called from a
frame_worker_thread of a multithreaded decoder when we already freed the
filters.

Fixes occasional segfaults on video stream change.

Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
parent a687acbb
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