revid: using h265.Extractor instead of h265.Lexer

This commit is contained in:
Saxon 2020-03-28 00:45:46 +10:30
parent 031feda565
commit 7afc71b33e
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ func (r *Revid) setLexer(c uint8, isRTSP bool) {
}
case codecutil.H265:
r.cfg.Logger.Log(logger.Debug, "using H.265 codec")
r.lexTo = h265.NewLexer(false).Lex
r.lexTo = h265.NewExtractor(false).Extract
if !isRTSP {
panic("byte stream H.265 lexing not implemented")
}