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

Unified Diff: webrtc/modules/video_coding/rtp_frame_reference_finder.h

Issue 2036913003: Use picture id to check continuity between frames. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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/modules/video_coding/rtp_frame_reference_finder.h
diff --git a/webrtc/modules/video_coding/rtp_frame_reference_finder.h b/webrtc/modules/video_coding/rtp_frame_reference_finder.h
index 7289b803bd089575d6169d96a526bd1d02348ad6..8c01b3ab11562b76e22053fed8281b2f1ee88424 100644
--- a/webrtc/modules/video_coding/rtp_frame_reference_finder.h
+++ b/webrtc/modules/video_coding/rtp_frame_reference_finder.h
@@ -48,9 +48,11 @@ class RtpFrameReferenceFinder {
// all information needed.
void RetryStashedFrames() EXCLUSIVE_LOCKS_REQUIRED(crit_);
- // Find references for generic frames.
- void ManageFrameGeneric(std::unique_ptr<RtpFrameObject> frame)
- EXCLUSIVE_LOCKS_REQUIRED(crit_);
+ // Find references for generic frames. If |picture_id| is unspecified
+ // then packet sequence numbers will be used to determine the references
+ // of the frames.
+ void ManageFrameGeneric(std::unique_ptr<RtpFrameObject> frame,
+ int picture_id = -1) EXCLUSIVE_LOCKS_REQUIRED(crit_);
pbos-webrtc 2016/06/03 13:26:55 no default arguments, Google style
philipel 2016/06/03 14:17:14 Done.
// Find references for Vp8 frames
void ManageFrameVp8(std::unique_ptr<RtpFrameObject> frame)

Powered by Google App Engine
This is Rietveld 408576698