VT: temporary graphical corruption when video size changes mid-stream
At approximately 9 seconds into this video, the resolution changes from 1920x1080 to 1280x720.
VLC detects this and re-initialises the decoder and resizes the window. However, there seems to be a small amount of time during which the vout is still displaying the stream in 1920x1080 when internally it has switched to 1280x720 as can be seen by some corruption near the top of the screen and nothing updating below it.
The same thing repeats when the resolution switches back to 1920x1080 nearer the end of the video.
If I disable Hardware acceleration this issue does not occur. Neither does it occur on Windows with DXA9 acceleration. I have not tested other possibilities, but it seems like a VT-specific issue.
I also attach a video which changes resolution but for some reason does not produce the same issue in VT. Both were produced by the same FFmpeg code and NVENC.
https://streams.videolan.org/issues/22007/test_switching_corruption.ts