Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PVideoInputDevice_1394AVC::Close (  )  [virtual]

Close the device.

Reimplemented from PVideoInputDevice.

Definition at line 151 of file vidinput_avc.cxx.

References IsCapturing(), IsOpen(), and Stop().

Referenced by Open(), and ~PVideoInputDevice_1394AVC().

{
  PTRACE(3, "Close()");
  if (IsOpen()) {
    if (IsCapturing())
      Stop();
    raw1394_destroy_handle(handle);
    handle = NULL;
    return TRUE;
  }
  else
    return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index