Moved FrameKey to api/video/encoded_frame.h and renamed it to VideoLayerFrameId.
Since we want the VideoStreamDecoder to callback with the last continuous frame we need to move the FrameKey into the public API. Bug: webrtc:8909 Change-Id: I39634145d848b8163778e31a1e0d04d91f9bbeb8 Reviewed-on: https://webrtc-review.googlesource.com/60864 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22495}
This commit is contained in:
@ -430,8 +430,8 @@ bool PacketBuffer::GetBitstream(const RtpFrameObject& frame,
|
||||
RTC_DCHECK_EQ(data_buffer_[index].seqNum, sequence_buffer_[index].seq_num);
|
||||
size_t length = data_buffer_[index].sizeBytes;
|
||||
if (destination + length > destination_end) {
|
||||
RTC_LOG(LS_WARNING) << "Frame (" << frame.picture_id << ":"
|
||||
<< static_cast<int>(frame.spatial_layer) << ")"
|
||||
RTC_LOG(LS_WARNING) << "Frame (" << frame.id.picture_id << ":"
|
||||
<< static_cast<int>(frame.id.spatial_layer) << ")"
|
||||
<< " bitstream buffer is not large enough.";
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user