Skip to content

[video] MovieGl::getSize() returns [0,0] right after being created #7

@richardeakin

Description

@richardeakin

If you do the following:

mVideo = MovieGl::create( fullPath );
auto size = mVideo->getSize();

size is [0,0], which is unexpected if you wanted to use it for laying things out. Probably because the size isn't set until the firs texture is grabbed, but I think it would be ideal if the video properties were queried to determine the size before draw time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions