summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 09:30:07 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 09:30:07 +0000
commit63b39c73dd951416f6c1808f34a10ca422336610 (patch)
tree23346799369839cf51e1d831f9d97de1629934d0 /media
parentddaa08c97c8a0f35d709d5fd1191b093fbae1c36 (diff)
downloadchromium_src-63b39c73dd951416f6c1808f34a10ca422336610.zip
chromium_src-63b39c73dd951416f6c1808f34a10ca422336610.tar.gz
chromium_src-63b39c73dd951416f6c1808f34a10ca422336610.tar.bz2
Revert 60912 - Some cleanup work in GpuVideoDecoderHost and IpcVideoDecoder
Seeing that GpuVideoDecoderHost has a very similar interface to VideoDecodeEngine, this patch makes GpuVideoDecoderHost implments VideoDecodeEngine. Also did some cleanup work to remove code patch that doesn't fit into the buffer allocation model we are moving to. BUG=53714 TEST=Tree is green. Code still doesn't work yet. Review URL: http://codereview.chromium.org/3393014 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/3531002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/video/video_decode_context.h4
-rw-r--r--media/video/video_decode_engine.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/media/video/video_decode_context.h b/media/video/video_decode_context.h
index 7bd6741..f1e678d 100644
--- a/media/video/video_decode_context.h
+++ b/media/video/video_decode_context.h
@@ -72,10 +72,10 @@ class VideoDecodeContext {
Task* task) = 0;
// Destroy this context asynchronously. When the operation is done |task|
- // is called. It is safe to delete this object only after |task| is called.
+ // is called.
//
// ReleaseVideoFrames() need to be called with all the video frames allocated
- // before making this call.
+ // before making this call.
virtual void Destroy(Task* task) = 0;
};
diff --git a/media/video/video_decode_engine.h b/media/video/video_decode_engine.h
index 0cd96b3..f9381a2 100644
--- a/media/video/video_decode_engine.h
+++ b/media/video/video_decode_engine.h
@@ -66,7 +66,6 @@ struct VideoCodecInfo {
bool success;
// Whether decoder provides output buffer pool.
- // TODO(hclam): This is not important anymore. Remove this.
bool provides_buffers;
// Initial Stream Info. Only part of them could be valid.