| Index: media/filters/decrypting_video_decoder_unittest.cc
|
| diff --git a/media/filters/decrypting_video_decoder_unittest.cc b/media/filters/decrypting_video_decoder_unittest.cc
|
| index 2f9c0b6d6d059220b0c02d8634b510c312c1adc0..16806f071401bbd7b292dbe55363996c8e5bb389 100644
|
| --- a/media/filters/decrypting_video_decoder_unittest.cc
|
| +++ b/media/filters/decrypting_video_decoder_unittest.cc
|
| @@ -482,4 +482,12 @@ TEST_F(DecryptingVideoDecoderTest, Destroy_AfterReset) {
|
| Destroy();
|
| }
|
|
|
| +// Test the case where color space in the config is set in the decoded frame.
|
| +TEST_F(DecryptingVideoDecoderTest, ColorSpace) {
|
| + Initialize();
|
| + EXPECT_FALSE(decoded_video_frame_->ColorSpace().IsValid());
|
| + EnterNormalDecodingState();
|
| + EXPECT_TRUE(decoded_video_frame_->ColorSpace().IsValid());
|
| +}
|
| +
|
| } // namespace media
|
|
|