diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-10 04:17:32 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-10 04:17:32 +0000 |
commit | 9e70a74ab916161a471c026fed7d0ad41a2eeb8f (patch) | |
tree | 5306004d94961ba9127a7dca93a3d3f4f2a248b9 /media/base/video_decoder.h | |
parent | 977c1fc77728203aeebc90cd981f252a19a679bb (diff) | |
download | chromium_src-9e70a74ab916161a471c026fed7d0ad41a2eeb8f.zip chromium_src-9e70a74ab916161a471c026fed7d0ad41a2eeb8f.tar.gz chromium_src-9e70a74ab916161a471c026fed7d0ad41a2eeb8f.tar.bz2 |
GpuVideoDecoder not to use DemuxerStream after it's stopped.
BUG=225846
TEST=Will test on Lumpy.
Review URL: https://chromiumcodereview.appspot.com/13585003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/video_decoder.h')
-rw-r--r-- | media/base/video_decoder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/base/video_decoder.h b/media/base/video_decoder.h index 904a6fd..97566da 100644 --- a/media/base/video_decoder.h +++ b/media/base/video_decoder.h @@ -29,7 +29,9 @@ class MEDIA_EXPORT VideoDecoder // Initializes a VideoDecoder with the given DemuxerStream, executing the // |status_cb| upon completion. // |statistics_cb| is used to update the global pipeline statistics. - // Note: No VideoDecoder calls should be made before |status_cb| is executed. + // Note: + // 1) No VideoDecoder calls should be made before |status_cb| is executed. + // 2) DemuxerStream should not be accessed after the VideoDecoder is stopped. virtual void Initialize(const scoped_refptr<DemuxerStream>& stream, const PipelineStatusCB& status_cb, const StatisticsCB& statistics_cb) = 0; |