diff options
author | jiesun@google.com <jiesun@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 19:45:25 +0000 |
---|---|---|
committer | jiesun@google.com <jiesun@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 19:45:25 +0000 |
commit | 7f537a10140277911002830f0c991a45f31ad0a5 (patch) | |
tree | 75aa5d7bdf48d776039848d4419cbcafd81be9d9 /chrome/tools/chrome-process-identifier.sh | |
parent | e1ddda0ea4dd580bb767c07264bd26ad761af8b3 (diff) | |
download | chromium_src-7f537a10140277911002830f0c991a45f31ad0a5.zip chromium_src-7f537a10140277911002830f0c991a45f31ad0a5.tar.gz chromium_src-7f537a10140277911002830f0c991a45f31ad0a5.tar.bz2 |
media: add flush stage before stop().
to make stop more clean without race condiction, we need to flush therefore when stop happen, there are no buffer exchange.
1. add seek_pending_ to track a seek operation in transition.
2. add tearing_down_ to track a stop operation in transition.
3. add stop_pending_ to track a stop that could be delayed by a seek.
4. an error while initialization will trigger a short teardown. ( stopping => stopped )
5. an error after initialization will trigger a full tear down. ( pausing => flushing =>stopping => stopped. ).
Review URL: http://codereview.chromium.org/3192008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/chrome-process-identifier.sh')
0 files changed, 0 insertions, 0 deletions