Debugging

This commit is contained in:
Unknown 2018-01-23 15:50:03 +10:30
parent 4fbb7d8251
commit 770dfd5154
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ func (r *revidInst) Start() {
r.ErrOut("Reading camera data!") r.ErrOut("Reading camera data!")
for r.isRunning { for r.isRunning {
h264Data = make([]byte, 1) h264Data = make([]byte, 1)
r.ErrOut("about to read")
_, err := io.ReadFull(inputReader, h264Data) _, err := io.ReadFull(inputReader, h264Data)
if err != nil { if err != nil {
if err.Error() == "EOF" { if err.Error() == "EOF" {