Index: content/renderer/media/rtc_video_encoder.cc |
diff --git a/content/renderer/media/rtc_video_encoder.cc b/content/renderer/media/rtc_video_encoder.cc |
index 511271171b08f16935ada6a4198557a87ea8964c..143cc2367ded276a3a9fd435a37f61db3e76c153 100644 |
--- a/content/renderer/media/rtc_video_encoder.cc |
+++ b/content/renderer/media/rtc_video_encoder.cc |
@@ -493,7 +493,7 @@ void RTCVideoEncoder::Impl::EncodeOneFrame() { |
const int index = input_buffers_free_.back(); |
base::SharedMemory* input_buffer = input_buffers_[index]; |
scoped_refptr<media::VideoFrame> frame = |
- media::VideoFrame::WrapExternalPackedMemory( |
+ media::VideoFrame::WrapExternalSharedMemory( |
media::VideoFrame::I420, |
input_frame_coded_size_, |
gfx::Rect(input_visible_size_), |