Skip to content

ofVideoPlayer on Raspberry Pi remains in memory after destruction #4891

@kr15h

Description

@kr15h

I am building an application for the Pi where I create a new video player and destroy the old one every now and then. Even though I am destroying the previous video player the memory usage keeps growing.

Here is the create code:

_video = new ofVideoPlayer();
_video->load(fileName);
_video->setLoopState(OF_LOOP_NORMAL);
_video->play();

Destroy code in the destructor:

_video->stop();
_video->close();
delete _video;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions