On Jul 28, 2011, at 10:19 PM, xue wrote:
> /* Here should process the queue data before get new frame from source, this
> very important for IP net work camera, the video latency will 50ms shorter
> than before. Zack */
> if (tv_timeToDelay.tv_sec == 0 && tv_timeToDelay.tv_usec == 0){
>
void BasicTaskScheduler::SingleStep(unsigned maxDelayTime) {
fd_set readSet = fReadSet; // make a copy for this select() call
fd_set writeSet = fWriteSet; // ditto
fd_set exceptionSet = fExceptionSet; // ditto
DelayInterval const& timeToDelay = fDelayQueue.timeToNextAlarm();
struc