mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: logging unexpected EOF from input source
This commit is contained in:
parent
f82ab42246
commit
a0a99e17db
|
@ -872,7 +872,9 @@ func (r *Revid) processFrom(in device.AVDevice, delay time.Duration) {
|
|||
r.cfg.Logger.Log(logger.Info, pkg+"lexing")
|
||||
err = r.lexTo(r.filters[0], in, delay)
|
||||
switch err {
|
||||
case nil, io.EOF, io.ErrUnexpectedEOF:
|
||||
case nil, io.EOF:
|
||||
case io.ErrUnexpectedEOF:
|
||||
r.cfg.Logger.Log(logger.Info, pkg+"unexpected EOF from input")
|
||||
default:
|
||||
r.err <- err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue