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

Unified Diff: webrtc/video/rtp_video_stream_receiver.h

Issue 2985283002: Unwrap picture ids in the RtpFrameReferencerFinder. (Closed)
Patch Set: Feedback 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 15af2e60eec9062dae33e675b5f8b1e8ee41dc5c..f65280e627cb3ff85fec8f941935049a9e4ffb6d 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.
« no previous file with comments | « webrtc/modules/video_coding/sequence_number_util_unittest.cc ('k') | webrtc/video/rtp_video_stream_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698