Cinder icon indicating copy to clipboard operation
Cinder copied to clipboard

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

Open richardeakin opened this issue 8 years ago • 0 comments

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.

richardeakin avatar Jun 06 '16 05:06 richardeakin