revid: hanging with config update

Issue #157 resolved
Saxon Milton created an issue

If there is a config update triggered by a change in vars, there is occasionally a hang. This is an additional problem to the previously described hanging problem. This time it seems that the issue lies in the MJPEG lexer. It should replicate what the H264 lexer is doing, which is returning nil error when it gets an io.EOF i.e. raspivid has been terminated and it’s time to stop. The mjpeg lexer is instead returning the io.EOF and confusing the handleErrors routine.

Comments (1)

  1. Log in to comment