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: Marton Balint <cus@passwd.hu> (cherry picked from commit c2e8691c07ca52de7b6b00ba8f2b30c56fd786d7) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
727749d30f
commit
f6c3fe94da
Loading…
x
Reference in New Issue
Block a user