When decoding a video using ffmpeg and playing it with qt, the image is not refreshed This is the code in the main thread.