Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: webrtc/video/rtp_video_stream_receiver.h

Issue 2985283002: Unwrap picture ids in the RtpFrameReferencerFinder. (Closed)
Patch Set: . Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/video/rtp_video_stream_receiver.h
diff --git a/webrtc/video/rtp_video_stream_receiver.h b/webrtc/video/rtp_video_stream_receiver.h
index a28816a985785236c2002a99765f86c38adb8002..d427af87d7964ec87f7bde7afc263f9d8753bc9f 100644
--- a/webrtc/video/rtp_video_stream_receiver.h
+++ b/webrtc/video/rtp_video_stream_receiver.h
@@ -93,9 +93,9 @@ class RtpVideoStreamReceiver : public RtpData,
bool DeliverRtcp(const uint8_t* rtcp_packet, size_t rtcp_packet_length);
- void FrameContinuous(uint16_t seq_num);
+ void FrameContinuous(int64_t seq_num);
- void FrameDecoded(uint16_t seq_num);
+ void FrameDecoded(int64_t seq_num);
void SignalNetworkState(NetworkState state);
@@ -199,8 +199,8 @@ class RtpVideoStreamReceiver : public RtpData,
rtc::scoped_refptr<video_coding::PacketBuffer> packet_buffer_;
std::unique_ptr<video_coding::RtpFrameReferenceFinder> reference_finder_;
rtc::CriticalSection last_seq_num_cs_;
- std::map<uint16_t, uint16_t, DescendingSeqNumComp<uint16_t>>
- last_seq_num_for_pic_id_ GUARDED_BY(last_seq_num_cs_);
+ std::map<int64_t, uint16_t> last_seq_num_for_pic_id_
+ GUARDED_BY(last_seq_num_cs_);
video_coding::H264SpsPpsTracker tracker_;
// TODO(johan): Remove pt_codec_params_ once
// https://bugs.chromium.org/p/webrtc/issues/detail?id=6883 is resolved.

Powered by Google App Engine
This is Rietveld 408576698