Index: media/base/video_decoder_config.cc |
diff --git a/media/base/video_decoder_config.cc b/media/base/video_decoder_config.cc |
index 52104cbd1c7bf0fee75b0a816c2bda9ffd95749d..b5ae98b6bd2a5f842c72798772b7472d8ea7ed42 100644 |
--- a/media/base/video_decoder_config.cc |
+++ b/media/base/video_decoder_config.cc |
@@ -9,6 +9,7 @@ |
namespace media { |
VideoDecoderConfig::VideoDecoderConfig(VideoCodec codec, |
+ PixelFormat pix_fmt, |
const gfx::Size& coded_size, |
const gfx::Rect& visible_rect, |
const gfx::Size& natural_size, |
@@ -17,6 +18,7 @@ VideoDecoderConfig::VideoDecoderConfig(VideoCodec codec, |
const uint8* extra_data, |
size_t extra_data_size) |
: codec_(codec), |
+ pix_fmt_(pix_fmt), |
coded_size_(coded_size), |
visible_rect_(visible_rect), |
natural_size_(natural_size), |
@@ -36,6 +38,10 @@ VideoCodec VideoDecoderConfig::codec() const { |
return codec_; |
} |
+PixelFormat VideoDecoderConfig::pix_fmt() const { |
+ return pix_fmt_; |
+} |
+ |
gfx::Size VideoDecoderConfig::coded_size() const { |
return coded_size_; |
} |