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

Unified Diff: media/cast/receiver/frame_receiver.cc

Issue 2113783002: Refactoring: Merge VideoSenderConfig and AudioSenderConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: media/cast/receiver/frame_receiver.cc
diff --git a/media/cast/receiver/frame_receiver.cc b/media/cast/receiver/frame_receiver.cc
index ac4f06d2ef533da4c574193db40f4a7ece9a53a2..0e5d2581ed90de032b80861005c35673285b9edd 100644
--- a/media/cast/receiver/frame_receiver.cc
+++ b/media/cast/receiver/frame_receiver.cc
@@ -40,7 +40,8 @@ FrameReceiver::FrameReceiver(
CastTransport* const transport)
: cast_environment_(cast_environment),
transport_(transport),
- packet_parser_(config.sender_ssrc, config.rtp_payload_type),
+ packet_parser_(config.sender_ssrc,
+ static_cast<uint8_t>(config.rtp_payload_type)),
stats_(cast_environment->Clock()),
event_media_type_(event_media_type),
event_subscriber_(kReceiverRtcpEventHistorySize, event_media_type),

Powered by Google App Engine
This is Rietveld 408576698