QMediaPlayer - memory leak?
I think I've found a memory leak caused by QMediaPlayer.
QMediaPlayer::setMedia() increases memory usage, every time its used.
Deleting player and video output is not releasing memory.
Example code :
player = new QMediaPlayer;
surface = new Surface; //implementation of QAbstractVideoSurface
invoking play() - > stop() -> play() ... causes increase in memory usage.
Surface is not the issue QVideoWidged used as video output causes even more memory to be wasted.
Tested on 5.1.0 MSVC2012 64bit OpenGl
and 5.2.0 MSVC2012 64bit ANGLE
Hi, and welcome to the Qt Dev Net!
Another user found a multimedia memory leak on Windows: http://qt-project.org/forums/viewthread/38025/
Could you please report this to https://bugreports.qt-project.org/ and post the link here?
Thank you for your time :)