Displaying 1 result from an estimated 1 matches for "theorastreamst".
Did you mean:
theorastreamtest
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...it to the graphics card when the scene is drawn. The example
file dump_video.c gave me most of what I needed.
...But I can't seem to handle end-of-stream very well. I would like to be
able to rewind. First I tried the brute force method:
if (videoStream.eof())
{
ogg_stream_clear (&theoraStreamState);
theora_clear (&theoraState);
theora_comment_clear (&theoraComment);
theora_info_clear (&theoraInfo);
ogg_sync_clear (&oggSyncState);
videoStream.clear();
videoStream.close();
init_the_movie_like_it_was_inited_the_first_time();
}
But I got a...