Index: webrtc/pc/mediasession.cc |
diff --git a/webrtc/pc/mediasession.cc b/webrtc/pc/mediasession.cc |
index ebba9acbcbf5adfddabb45eb31fb00575936a85b..0ebc7660391feebc38f477a06a2789eb0b232771 100644 |
--- a/webrtc/pc/mediasession.cc |
+++ b/webrtc/pc/mediasession.cc |
@@ -1274,7 +1274,7 @@ MediaSessionDescriptionFactory::MediaSessionDescriptionFactory( |
channel_manager->GetSupportedAudioReceiveCodecs(&audio_recv_codecs_); |
channel_manager->GetSupportedAudioSendCodecs(&audio_send_codecs_); |
channel_manager->GetSupportedAudioRtpHeaderExtensions(&audio_rtp_extensions_); |
- channel_manager->GetSupportedVideoCodecs(&video_codecs_); |
+ video_codecs_ = channel_manager->GetSupportedVideoCodecs(); |
channel_manager->GetSupportedVideoRtpHeaderExtensions(&video_rtp_extensions_); |
channel_manager->GetSupportedDataCodecs(&data_codecs_); |
NegotiateCodecs(audio_recv_codecs_, audio_send_codecs_, |