diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 21:46:09 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 21:46:09 +0000 |
commit | e570464a01253a25520171f967fa3e7a97c70cb6 (patch) | |
tree | 60654fd2cabe038fd1dd8a14bda863e536e0b2dd /chrome/gpu | |
parent | 6c852924d5dad5c800b025c1b37233a355270122 (diff) | |
download | chromium_src-e570464a01253a25520171f967fa3e7a97c70cb6.zip chromium_src-e570464a01253a25520171f967fa3e7a97c70cb6.tar.gz chromium_src-e570464a01253a25520171f967fa3e7a97c70cb6.tar.bz2 |
Cleanup in VideoFrame
Remove D3D textures from VideoFrame because it is not used anymore.
Remove duration and timestamp when creating a video frame from textures.
BUG=53714
TEST=Tree is green.
Review URL: http://codereview.chromium.org/3501005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61852 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu')
-rw-r--r-- | chrome/gpu/gpu_video_decoder_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/gpu/media/fake_gl_video_device.cc | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/chrome/gpu/gpu_video_decoder_unittest.cc b/chrome/gpu/gpu_video_decoder_unittest.cc index 948e30b..893d07b 100644 --- a/chrome/gpu/gpu_video_decoder_unittest.cc +++ b/chrome/gpu/gpu_video_decoder_unittest.cc @@ -88,8 +88,6 @@ class GpuVideoDecoderTest : public testing::Test, media::VideoFrame::GlTexture textures[] = { kServiceTexture, 0, 0 }; media::VideoFrame::CreateFrameGlTexture(media::VideoFrame::RGBA, kWidth, kHeight, textures, - base::TimeDelta(), - base::TimeDelta(), &device_frame_); } diff --git a/chrome/gpu/media/fake_gl_video_device.cc b/chrome/gpu/media/fake_gl_video_device.cc index df1b5b1..9e450ec 100644 --- a/chrome/gpu/media/fake_gl_video_device.cc +++ b/chrome/gpu/media/fake_gl_video_device.cc @@ -27,8 +27,6 @@ bool FakeGlVideoDevice::CreateVideoFrameFromGlTextures( width, height, texture_array, - base::TimeDelta(), - base::TimeDelta(), frame); return *frame != NULL; } |