rpicamsrc: Attempt to workaround MMAL timeout bug
authorJan Schmidt <thaytan@noraisin.net>
Mon, 16 Jul 2018 09:49:21 +0000 (19:49 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 10 Jul 2020 15:46:33 +0000 (16:46 +0100)
commit3c5327ae6412ba51df8013b6b1db22e14d196c9e
tree4eb0d9a9fb51a7a64576b07273432805c6947499
parentc907deb15fda4fe07eadc93f4a83611f4581e2f2
rpicamsrc: Attempt to workaround MMAL timeout bug

mmal_queue_timedwait() might spuriously return immediately
if called at exactly the wrong instant due to an internal
off-by-one bug. Attempt to work around that and just retry.
sys/rpicamsrc/RaspiCapture.c