diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/video/video_decode_context.h | 4 | ||||
-rw-r--r-- | media/video/video_decode_engine.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/media/video/video_decode_context.h b/media/video/video_decode_context.h index f1e678d..7bd6741 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. + // is called. It is safe to delete this object only after |task| 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 f9381a2..0cd96b3 100644 --- a/media/video/video_decode_engine.h +++ b/media/video/video_decode_engine.h @@ -66,6 +66,7 @@ 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. |