receiver does the flipping and processing before sending client the correct frame to display

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@361 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-11-26 15:33:53 +00:00
parent 997ffec2ee
commit d8af12456d
4 changed files with 59 additions and 50 deletions

View File

@ -414,8 +414,10 @@ void* postProcessing::processData(int delflag) {
int* receiverData = readFrameFromReceiver(currentfName,currentfIndex);
pthread_mutex_unlock(&mg);
if(!receiverData)
if(!receiverData){
cout<<"****Detector returned NULL***"<<endl;
return 0;
}
fdata=decodeData(receiverData);
delete [] receiverData;
if(fdata){