Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1538)

Unified Diff: media/filters/ffmpeg_video_decoder.cc

Issue 8052002: Fix support for yuv_422 pixel format. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: (minor change) Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698