copy first frame to latest data no matter what and also copy only if more than packets per frame

This commit is contained in:
Dhanya Maliakal
2015-03-10 15:04:50 +01:00
parent 2f82469531
commit 6063c712f7
3 changed files with 45 additions and 36 deletions

View File

@@ -688,7 +688,7 @@ void UDPBaseImplementation::copyFrameToGui(char* startbuf[], uint32_t fnum, char
pthread_mutex_unlock(&dataReadyMutex);
}
//random read or nth frame read, gui needs data now
//random read or nth frame read, gui needs data now or it is the first frame
else{
/*
//nth frame read, block current process if the guireader hasnt read it yet