Skip to content

Commit

Permalink
Dont include videoDepacketizer in VP1Packet
Browse files Browse the repository at this point in the history
Now that we have separated the Packet/Depacketizer roles for
the AV1 codec, there is no need to include the videoDepacketizer
mixin in AV1Packet.
  • Loading branch information
jech committed Feb 27, 2025
1 parent 48e175c commit 061df8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codecs/av1_packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ type AV1Packet struct {
// AV1Frame provides the tools to construct a collection of OBUs from a collection of OBU Elements
OBUElements [][]byte

videoDepacketizer
// zeroAllocation prevents populating the OBUElements field
zeroAllocation bool
}

// Unmarshal parses the passed byte slice and stores the result in the AV1Packet this method is called upon.
Expand Down

0 comments on commit 061df8a

Please sign in to comment.