configurable dependency descriptor restart (#4207)
* configurable dependency descriptor restart * KeyFrame -> IsKeyFrame * use the params directly
This commit is contained in:
@@ -50,7 +50,7 @@ func (v *VP9) Select(extPkt *buffer.ExtPacket, _layer int32) (result VideoLayerS
|
||||
updatedLayer := v.currentLayer
|
||||
|
||||
if !v.currentLayer.IsValid() {
|
||||
if !extPkt.KeyFrame {
|
||||
if !extPkt.IsKeyFrame {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user