Hi,
I experienced a strange thing when setting buffer_queue_size=1. After some time (less than 1min) the call of framesQueue.pull(_drop_frame) in do_capture() doesn't return. So I don't get any new frame.
This happens only on the Jetson TX2. Setting buffer_queue_size=2 seems to work.
Also maybe you could use boost::lockfree::spsc_queue. But I think you can't have a variable length of the queue though.
Hi, I experienced a strange thing when setting
buffer_queue_size=1
. After some time (less than 1min) the call offramesQueue.pull(_drop_frame)
indo_capture()
doesn't return. So I don't get any new frame.This happens only on the Jetson TX2. Setting
buffer_queue_size=2
seems to work.Also maybe you could use
boost::lockfree::spsc_queue
. But I think you can't have a variable length of the queue though.Cheers