diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-06 02:23:25 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-06 02:23:25 +0000 |
commit | c1330c817f4c1988bef0da16f0a96a3e1c4a63d5 (patch) | |
tree | 6979ebdeff26e9bc876ac8eb6d88914f93337623 /media/base/pipeline.h | |
parent | db1b011b3d7de715c424a374655420780fbc2daf (diff) | |
download | chromium_src-c1330c817f4c1988bef0da16f0a96a3e1c4a63d5.zip chromium_src-c1330c817f4c1988bef0da16f0a96a3e1c4a63d5.tar.gz chromium_src-c1330c817f4c1988bef0da16f0a96a3e1c4a63d5.tar.bz2 |
Reland: Use a shared thread for media operations (round 3).
This reduces the number of threads created per media element by one.
TBR=jamesr,jochen
BUG=61293
Review URL: https://chromiumcodereview.appspot.com/15993018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/pipeline.h')
-rw-r--r-- | media/base/pipeline.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/base/pipeline.h b/media/base/pipeline.h index a91176e..0ca7d62 100644 --- a/media/base/pipeline.h +++ b/media/base/pipeline.h @@ -114,6 +114,8 @@ class MEDIA_EXPORT Pipeline : public DemuxerHost { // // Stop() must complete before destroying the pipeline. It it permissible to // call Stop() at any point during the lifetime of the pipeline. + // + // It is safe to delete the pipeline during the execution of |stop_cb|. void Stop(const base::Closure& stop_cb); // Attempt to seek to the position specified by time. |seek_cb| will be |