Add VideoCodecType::kVideoCodecAV1 value
Bug: webrtc:11042 Change-Id: I3c5151c9e47679760f8f7d79270488fa8f4c7db5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159282 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29927}
This commit is contained in:
committed by
Commit Bot
parent
e14cb99408
commit
dc36829db0
@ -382,8 +382,7 @@ bool RtpDepacketizerAv1::Parse(ParsedPayload* parsed_payload,
|
||||
uint8_t aggregation_header;
|
||||
RTC_CHECK(payload.ReadUInt8(&aggregation_header));
|
||||
|
||||
// TODO(danilchap): Set AV1 codec when there is such enum value
|
||||
parsed_payload->video.codec = VideoCodecType::kVideoCodecGeneric;
|
||||
parsed_payload->video.codec = VideoCodecType::kVideoCodecAV1;
|
||||
// These are not accurate since frame may consist of several packet aligned
|
||||
// chunks of obus, but should be good enough for most cases. It might produce
|
||||
// frame that do not map to any real frame, but av1 decoder should be able to
|
||||
|
||||
Reference in New Issue
Block a user