revid: not handling errors from raspivid

Issue #169 resolved
Saxon Milton created an issue

We’re not getting any error information from raspivid in the case of an error. We should look at watching stderr, similar to how we pipe standard out (see line 248 av/device/raspivid/raspivid.go). (See here for information on stdout, stderr). It should just be a matter of Reading stderr in a routine and if we do read something then we clearly have an error (in which case we should stop execution of the error checking routine and return errors on future data reads of the device).

Comments (5)

  1. Log in to comment