Definition at line 108 of file MVideo.cc.
References fFileDesc, fPath, and gLog.
Referenced by CaptureStart(), CaptureWait(), Enumerate(), EnumerateControls(), GetCapabilities(), GetProperties(), GetTunerAbilities(), GetVideoStandard(), Init(), ReadControl(), SetChannel(), Start(), and WriteControl().
112 gLog << err <<
"ERROR - Ioctl: Device " <<
fPath <<
" not open." << endl;
119 const int rc = ioctl(
fFileDesc, req, opt);
126 if (!allowirq && errno==EAGAIN)
129 cout <<
"errno="<< errno << endl;
133 if (errno==4 || errno==16)
135 if (!allowirq && errno==4)
138 gLog << err <<
"ERROR - MVideo::Ioctl 0x" << hex << req <<
": errno=" << dec << errno <<
" - ";
139 gLog << strerror(errno) <<
" (rc=" << rc <<
")" << endl;
146 gLog << err <<
"ERROR - MVideo::Ioctl 0x" << hex << req <<
": errno=" << dec << errno <<
" - ";
147 gLog << strerror(errno) <<
" (rc=" << rc <<
")" << endl;