search for: runseekifw

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

2011 May 23
2
[Cortado] How to support seeking in on-the-fly generated Theora stream?
...are allowed to seek permissionToSeek.wait(); } catch (InterruptedException e) { e.printStackTrace(); } /* ... code to seek ... */ } The sinkpad checks if the next buffer begins with OggS pattern and calls the notifyAll() method: protected void taskFunc() { boolean runSeekIfWanted = false; synchronized (queue) { /* ... */ if (playPosition+1 < queue.size()) { obj = queue.elementAt(playPosition+1); if (obj instanceof Buffer) { Buffer bb = (Buffer) obj; if (bb.data[0] == 'O' &&...