return;
}
+ _finished = false;
+ _pending_seek_position = position;
+ _pending_seek_accurate = accurate;
+
{
boost::mutex::scoped_lock lm (_buffers_mutex);
_video.clear ();
_closed_caption.clear ();
}
- _finished = false;
- _pending_seek_position = position;
- _pending_seek_accurate = accurate;
_summon.notify_all ();
}
seek_to = next;
}
- {
- boost::mutex::scoped_lock lm (_buffers_mutex);
- _video.clear ();
- _audio.clear ();
- _closed_caption.clear ();
- }
-
- _finished = false;
- _summon.notify_all ();
-
seek_unlocked (seek_to, true);
_awaiting = seek_to;
}