Skip to content

Commit 061df8a

Browse files
committed
Dont include videoDepacketizer in VP1Packet
Now that we have separated the Packet/Depacketizer roles for the AV1 codec, there is no need to include the videoDepacketizer mixin in AV1Packet.
1 parent 48e175c commit 061df8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codecs/av1_packet.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ type AV1Packet struct {
136136
// AV1Frame provides the tools to construct a collection of OBUs from a collection of OBU Elements
137137
OBUElements [][]byte
138138

139-
videoDepacketizer
139+
// zeroAllocation prevents populating the OBUElements field
140+
zeroAllocation bool
140141
}
141142

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

0 commit comments

Comments
 (0)