search for: queuepage

Displaying 1 result from an estimated 1 matches for "queuepage".

Did you mean: queue_page
2007 Apr 12
1
Seek problem 2 - reinitialization of the decoder
...nd a Theora page, not Vorbis. bufferData(); (Same code as pasted in the the seek problem 1 mail) Now, I need to get back into the decoding loop. I do this exactly the same way as when the decoder starts up just after the first initialization: while (ogg_sync_pageout(&sync, &page)) queuePage(); while (isPlaying) { const int result = ogg_stream_packetout(&tstream, &packet); if (result == 0) { // Not enough data... load some more pages! bufferData(); } else if (result > 0) { theora_decode_packetin(&decoder, &packet); int videoBufferTime = theora_granul...