Description
When I play two videos after each other, the second video is heavily distorted if the videos have different pixel formats.
I start first video by calling avPlayer->play(video1); and on stopped() signal I do same call avPlayer->play(video2). I have tested with several videos but for example I use:
Video1: MOV (mpjeg, yuvj422p)
Video2: MP4 (h.264, yuv420p)
If I swap the videos and play video2 first then video1 is distorted. Quite frequently the app is also crashing on row 585 in VideoShader.cpp. I'm using the latest code.
I do get a warning when switching to the second video "Can not copy codec properties when it's open" so it looks that the decoder/codec is not completely closed before playing the next video...?
Environment:
Ubuntu 14.04
Latest QtAV code
ffmpeg decoder
Thanks for your great work!
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.