[libdc1394-devel] Bug with out of order enqueue on os x
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: Andrew W. <aw...@ui...> - 2007-07-12 16:27:40
|
Hello- I think I have found a bug in the mac specific code that prevents out of order enqueueing. My code relies heavily on this feature, which lets me keep around old frames without copying them out of the ring buffer. I have replicated the problem in a slightly modified helloworld.c, which I have included. The problem exists in both rc5 and rc7 on my PPC mac. The problem does not seem to exist on linux with rc5. If you set #define ENQUEUE_OUT_OF_ORDER 0 the code keeps running happily. If you set #define ENQUEUE_OUT_OF_ORDER 1 the code gets stuck after a few frames. (Maybe when it gets back around to the first frame in the ring buffer that was enqueued out of order?) |