Author Message

<  beginners  ~  close() in ofVideoPlayer before loadMovie() ?

PostPosted: Sat Nov 14, 2009 10:14 am
Joined: Fri Apr 27, 2007 6:52 pmPosts: 132Location: bilbao
hi

i am using an instance of ofVideoPlayer to load a sequence on videos. This videos are taken randomly from a list, so i am loading over and over again. I guess there is some internal system to avoid loading the same video several times into memory, is this correct?

otherwise is it a good idea to call close() before calling loadMovie() in this case?

-- edit --
with one of the movies i am getting this error :
OF_ERROR: image data too big for allocated texture. not uploading...

how can i avoid this? i think this movie has bigger width - heigth size than the previous ones.

-- edit again --
this error only happens if the previous movie has finished. So if I load the bigger movie while the previous one is playing there is no such error.

thanks

enrike


Offline Profile

Display posts from previous:  Sort by:

All times are UTC
Page 1 of 1
1 post
Users browsing this forum: No registered users and 3 guests
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron