Re: [libdc] Corrupted frames under OS X - libdc1394 2.0.1
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: Mark <mar...@go...> - 2008-02-28 09:50:21
|
> I think the best way to inform the app of these drops is to add a new > function, something like: > dc1394_capture_get_drop_count (camera, &num); > > You could call this after every dequeue to see if any new frames were > dropped. Does that seem reasonable? > > I don't really like adding a DC1394_BAD_FRAME return code because that > would imply that the dequeue somehow failed, when it did not. I'm just thinking about a way to still get the corrupted frame - maybe for debugging purposes. When I reported the issue the first thing you asked me for was screenshots of the bad frames... I'll try out the changes - thanks! Mark |