| Index: media/filters/ffmpeg_video_decoder.cc
|
| diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc
|
| index 75289cef27bf26bb88d102931ca155e9ca2d6144..83c850d9c547a01651ad41add2f014af571df90d 100644
|
| --- a/media/filters/ffmpeg_video_decoder.cc
|
| +++ b/media/filters/ffmpeg_video_decoder.cc
|
| @@ -92,8 +92,8 @@ int FFmpegVideoDecoder::GetVideoBuffer(AVCodecContext* codec_context,
|
| return AVERROR(EINVAL);
|
|
|
| scoped_refptr<VideoFrame> video_frame =
|
| - VideoFrame::CreateFrame(format, size, gfx::Rect(size), natural_size,
|
| - kNoTimestamp());
|
| + frame_pool_.CreateFrame(format, size, gfx::Rect(size),
|
| + natural_size, kNoTimestamp());
|
|
|
| for (int i = 0; i < 3; i++) {
|
| frame->base[i] = video_frame->data(i);
|
|
|