Re: [libdc1394-devel] num_buffers_behind field
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: David M. <dcm@MIT.EDU> - 2006-08-02 00:24:50
|
On Wed, 2006-08-02 at 09:18 +0900, Damien Douxchamps wrote: > > uint_t > > dc1394_capture_get_frames_behind(dc1394camera_t *camera) > > { > > DC1394_CAST_CAMERA_TO_LINUX(craw, camera); > > return craw->capture.num_dma_buffers_behind; > > } > > ===== > > in dc1394_capture.c seems to fix the problem. > > If we add this to dc1394_control.h we also have to define an OSX > implementation. It may be as simple as a dummy function returning zero > but I think it must be done. David, how should this be done for OSX (if > it is meaningful)? > Yes, a dummy function returning 0 would be suitable on the Mac OS X side for now. In theory, the real value should be obtainable, but not the way the OSX code is currently written. -David |