Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

PyQt Phonon Video Player memory leak



  • Hey,

    I'm creating an instance of Phonon.VideoPlayer in my UI and every time
    I instantiate the player it allocates about 40mb or memory I can't
    seem to get back. This is the call:

    player = Phonon.VideoPlayer(Phonon.VideoCategory,self)

    I've tried player.stop(), del player, I've done a sip delete,
    player.deleteLater() and player.destroy() but none seem to free up the
    memory.

    Has anyone run into the same problem?

    Thanks!


Log in to reply