FACT++  1.0
Bool_t MVideo::Start ( )

Definition at line 677 of file MVideo.cc.

References gLog, Ioctl(), and type.

Referenced by Camera::Thread().

678 {
679  v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
680  if (Ioctl(VIDIOC_STREAMON, &type)==-1)
681  {
682  gLog << err << "ERROR - Couldn't start capturing." << endl;
683  return kFALSE;
684  }
685 
686  cout << "*** Stream on" << endl;
687 
688  return kTRUE;
689 }
int Ioctl(int req, void *opt, bool allowirq=true, bool force=false) const
Definition: MVideo.cc:108
#define gLog
Definition: fits.h:36
int type

+ Here is the call graph for this function:

+ Here is the caller graph for this function: