Index: webrtc/modules/video_coding/codecs/h264/h264.cc |
diff --git a/webrtc/modules/video_coding/codecs/h264/h264.cc b/webrtc/modules/video_coding/codecs/h264/h264.cc |
index f03a83d781eb7283597452a5cfd3f78370839497..1e3a5809eb1512f201b26091677d348c8c6aa52b 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264.cc |
+++ b/webrtc/modules/video_coding/codecs/h264/h264.cc |
@@ -49,7 +49,7 @@ H264Encoder* H264Encoder::Create(const cricket::VideoCodec& codec) { |
#if defined(WEBRTC_USE_H264) |
RTC_CHECK(g_rtc_use_h264); |
LOG(LS_INFO) << "Creating H264EncoderImpl."; |
- return new H264EncoderImpl(); |
+ return new H264EncoderImpl(codec); |
#else |
RTC_NOTREACHED(); |
return nullptr; |