Index: media/filters/ffmpeg_video_decoder.cc |
diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc |
index 61a8771561413c7f6fb19b854725173239998a76..99b92d2b2941eb76ab5895ea131b01c812e9fa00 100644 |
--- a/media/filters/ffmpeg_video_decoder.cc |
+++ b/media/filters/ffmpeg_video_decoder.cc |
@@ -89,6 +89,7 @@ void FFmpegVideoDecoder::Initialize(DemuxerStream* demuxer_stream, |
} |
VideoDecoderConfig config(CodecIDToVideoCodec(av_stream->codec->codec_id), |
+ PixelFormatToVideoFormat(av_stream->codec->pix_fmt), |
coded_size, visible_rect, natural_size, |
av_stream->r_frame_rate.num, |
av_stream->r_frame_rate.den, |