Displaying 1 result from an estimated 1 matches for "doseek".
Did you mean:
oseek
2011 May 23
2
[Cortado] How to support seeking in on-the-fly generated Theora stream?
...missionToSeek". The sinkpad should wait until it gets
a permission to seek.
I tried to achieve this with wait() and notifyAll().
the sinkpad has a method which gets called if a seek request arrives. It
synchronizes on the permission object and waits for the srcpad to grant
it:
private void doSeek(Event event) {
// wait until we get the permission to seek
synchronized (permissionToSeek) {
try {
Debug.info("[BUFFER] sink -> doSeek() waiting for
permissionToSeek");
// wait until we are allowed to seek
permissionToSeek.wait();
} catch (Inter...