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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_sender_video.h

Issue 2455963003: Simplify SetFecParameters signature. (Closed)
Patch Set: Feedback response 1. Created 4 years, 2 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/rtp_rtcp/source/rtp_sender_video.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
index 6510dd9d183a1f2d5e7a7428fac5242d2ede93e9..fea0d94e9ee9193e0848d305a327542ddc00dbb5 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
@@ -63,8 +63,8 @@ class RTPSenderVideo {
void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type);
void UlpfecConfig(int* red_payload_type, int* ulpfec_payload_type) const;
- void SetFecParameters(const FecProtectionParams* delta_params,
- const FecProtectionParams* key_params);
+ void SetFecParameters(const FecProtectionParams& delta_params,
+ const FecProtectionParams& key_params);
uint32_t VideoBitrateSent() const;
uint32_t FecOverheadRate() const;

Powered by Google App Engine
This is Rietveld 408576698