| Index: content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| index 77e369849eb43ac82cb1028e96ba29c3e6baa0c7..d848de02905be5ec56af8cab29ad1c19971fda82 100644
|
| --- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| +++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| @@ -76,16 +76,6 @@ const FilePath::CharType* test_video_data =
|
| FILE_PATH_LITERAL("test-25fps.h264:320:240:250:258:50:175:1");
|
| #endif
|
|
|
| -// AAVC data required to initialize the H.264 video decoder.
|
| -const uint8_t MP4_EXTRA_DATA[] = {
|
| - 0x01, 0x64, 0x00, 0x1f, 0xff, 0xe1, 0x00, 0x19,
|
| - 0x67, 0x64, 0x00, 0x1f, 0xac, 0x34, 0xec, 0x05,
|
| - 0x00, 0x5b, 0xa1, 0x00, 0x00, 0x03, 0x00, 0x01,
|
| - 0x00, 0x00, 0x03, 0x00, 0x32, 0x0f, 0x18, 0x31,
|
| - 0x38, 0x01, 0x00, 0x05, 0x68, 0xef, 0xb2, 0xc8,
|
| - 0xb0,
|
| -};
|
| -
|
| // Parse |data| into its constituent parts and set the various output fields
|
| // accordingly. CHECK-fails on unexpected or missing required data.
|
| // Unspecified optional fields are set to -1.
|
| @@ -327,12 +317,6 @@ void EglRenderingVDAClient::CreateDecoder() {
|
| scoped_refptr<MacVideoDecodeAccelerator> decoder =
|
| new MacVideoDecodeAccelerator(this);
|
| decoder->SetGLContext(rendering_helper_->GetGLContext());
|
| - std::vector<uint8_t> avc_data(MP4_EXTRA_DATA,
|
| - MP4_EXTRA_DATA + arraysize(MP4_EXTRA_DATA));
|
| - if (!decoder->SetConfigInfo(frame_width_, frame_height_, avc_data)) {
|
| - SetState(CS_ERROR);
|
| - return;
|
| - }
|
| #endif // OS_WIN
|
| decoder_ = decoder.release();
|
| SetState(CS_DECODER_SET);
|
|
|