media: Fix not-thread-safe access to variables in android media code.
commit9ff3a96bd10652b1319d41b2dee956c40e1c262d
authordongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 13 Aug 2014 16:29:07 +0000 (13 16:29 +0000)
committerdongseong.hwang@intel.com <dongseong.hwang@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 13 Aug 2014 16:30:06 +0000 (13 16:30 +0000)
tree447e40ab842b6c5169787f8a06da1c998d53e6ea
parent599d5ac1df4be060482fe22f714c0a2096e45e82
media: Fix not-thread-safe access to variables in android media code.

There are 3 big changes;
1. Initialize and bind StreamTextureProxy to the impl thread when the main
thread is blocked.
2. Set stream texture size when the video size is changed, instead of adhoc in
rendering code.
3. Add lots of thread checks.

BUG=N/A

Review URL: https://codereview.chromium.org/448063003

Cr-Commit-Position: refs/heads/master@{#289315}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289315 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/media/android/webmediaplayer_android.cc