Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
richardeakin opened this issue Jun 6, 2016 · 0 comments

Comments

@richardeakin
Copy link
Collaborator

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.

paulhoux pushed a commit that referenced this issue Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant