blah
parent
daee5b4450
commit
83f8a240d5
|
@ -560,7 +560,7 @@ bool Monitor::connect() {
|
|||
Debug(3,"Aligning shared memory images to the next 64 byte boundary");
|
||||
shared_images = (uint8_t*)((unsigned long)shared_images + (64 - ((unsigned long)shared_images % 64)));
|
||||
}
|
||||
if ( purpose == CAPTURE ) {
|
||||
if ( purpose != ANALYSIS ) {
|
||||
Debug(3, "Allocating %d image buffers", image_buffer_count );
|
||||
image_buffer = new Snapshot[image_buffer_count];
|
||||
for ( int i = 0; i < image_buffer_count; i++ ) {
|
||||
|
|
|
@ -484,7 +484,10 @@ void MonitorStream::runStream() {
|
|||
|
||||
openComms();
|
||||
|
||||
checkInitialised();
|
||||
if ( ! checkInitialised() ) {
|
||||
Error("Not initialized");
|
||||
return;
|
||||
}
|
||||
|
||||
updateFrameRate( monitor->GetFPS() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue