| Index: media/base/video_decoder_config.cc
|
| diff --git a/media/base/video_decoder_config.cc b/media/base/video_decoder_config.cc
|
| index d2b6e410103e4a066c9b971a9376a30d3caa48c9..bea5224e83179a8b700592c0facb7dc12c2d764a 100644
|
| --- a/media/base/video_decoder_config.cc
|
| +++ b/media/base/video_decoder_config.cc
|
| @@ -88,6 +88,7 @@ void VideoDecoderConfig::Initialize(VideoCodec codec,
|
| natural_size_ = natural_size;
|
| extra_data_.assign(extra_data, extra_data + extra_data_size);
|
| is_encrypted_ = is_encrypted;
|
| + rotation_ = 0;
|
| }
|
|
|
| bool VideoDecoderConfig::IsValidConfig() const {
|
| @@ -167,4 +168,12 @@ bool VideoDecoderConfig::is_encrypted() const {
|
| return is_encrypted_;
|
| }
|
|
|
| +int VideoDecoderConfig::rotation() const {
|
| + return rotation_;
|
| +}
|
| +
|
| +void VideoDecoderConfig::set_rotation(int rotation) {
|
| + rotation_ = rotation;
|
| +}
|
| +
|
| } // namespace media
|
|
|