Closed techyian closed 4 years ago
When adding NewFile() into the iteration loop within these helper methods, local testing shows that for every other file created, EOS is signalled immediately by MMAL strangely and therefore no data is written to the file. Need to investigate further.
Latest commit appears to have sorted this issue. 2 things fixed here: a) Added NewFile
method after each timelapse/timeout iteration, b) ensure the camera is stopped before cleaning the port pools.
There are regressions in these helper methods. The following issues have been found:
Regressed since v.0.5. In v.0.4.x, code in MMALComponentBase.cs
Start()
method handled the creation of files each time the output port was started. The creation of files moved to the capture handler for v0.5 and hence for multiple iterations we are not creating a new file.