In Av1 packetizer set marker bit with respect of end_of_picture flag

Bug: webrtc:12167
Change-Id: If14fdd7144951c7aa7e48efd390637dd66201bf7
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/192791
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32612}
This commit is contained in:
Danil Chapovalov
2020-11-11 16:15:07 +01:00
committed by Commit Bot
parent a87cea746d
commit 62a9a32937
7 changed files with 48 additions and 13 deletions

View File

@ -54,8 +54,9 @@ std::unique_ptr<RtpPacketizer> RtpPacketizer::Create(
return std::make_unique<RtpPacketizerVp9>(payload, limits, vp9);
}
case kVideoCodecAV1:
return std::make_unique<RtpPacketizerAv1>(payload, limits,
rtp_video_header.frame_type);
return std::make_unique<RtpPacketizerAv1>(
payload, limits, rtp_video_header.frame_type,
rtp_video_header.is_last_frame_in_picture);
default: {
return std::make_unique<RtpPacketizerGeneric>(payload, limits,
rtp_video_header);