Ignore:
Timestamp:
May 22, 2013, 3:25:24 PM (11 years ago)
Author:
DHERBOMEZ Gérald
Message:

fix windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/TestComponents/Video/sensor/Camera1394.cpp

    r89 r94  
    7979  imageMutex_ = new QMutex;
    8080
    81   if (displaying_)
     81/*  if (displaying_)
    8282  {
    8383    viewer_ = new ImageViewer;
     
    8686    viewer_->setWindowTitle(componentName);
    8787    connect(this, SIGNAL( newImage(QImage*) ), viewer_, SLOT( display(QImage*) ) );
    88   }
     88  }*/
    8989
    9090  return ComponentBase::CONFIGURED_OK;
     
    282282    // send image in shared memory
    283283    if (firstTime) {
    284       shMem = new ShMem("IMAGE", qimage_->numBytes());
     284//      shMem = new ShMem("IMAGE", qimage_->numBytes());
    285285      firstTime = false;
    286286    }
    287287    assert(shMem);
    288     shMem->write(qimage_->bits(), qimage_->numBytes());
     288//    shMem->write(qimage_->bits(), qimage_->numBytes());
    289289
    290290#ifdef MEASURE_TIME
Note: See TracChangeset for help on using the changeset viewer.