mirror of https://bitbucket.org/ausocean/av.git
revid: using h265.Extractor instead of h265.Lexer
This commit is contained in:
parent
031feda565
commit
7afc71b33e
|
@ -419,7 +419,7 @@ func (r *Revid) setLexer(c uint8, isRTSP bool) {
|
||||||
}
|
}
|
||||||
case codecutil.H265:
|
case codecutil.H265:
|
||||||
r.cfg.Logger.Log(logger.Debug, "using H.265 codec")
|
r.cfg.Logger.Log(logger.Debug, "using H.265 codec")
|
||||||
r.lexTo = h265.NewLexer(false).Lex
|
r.lexTo = h265.NewExtractor(false).Extract
|
||||||
if !isRTSP {
|
if !isRTSP {
|
||||||
panic("byte stream H.265 lexing not implemented")
|
panic("byte stream H.265 lexing not implemented")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue