mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge m-c to inbound.
This commit is contained in:
commit
416262f62f
@ -1,4 +1,4 @@
|
||||
{
|
||||
"revision": "93d613b62a4697824f918b3625da100d2e177eaa",
|
||||
"revision": "9a9c7a559a26cc11669de92c05e36d6e9e81fe6d",
|
||||
"repo_path": "/integration/gaia-central"
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ void MediaResourceManagerService::cancelClientLocked(const sp<IBinder>& binder)
|
||||
// Clear the request from request queue.
|
||||
Fifo::iterator it(mVideoCodecRequestQueue.begin());
|
||||
while (it != mVideoCodecRequestQueue.end()) {
|
||||
if (*it == binder) {
|
||||
if ((*it).get() == binder.get()) {
|
||||
it = mVideoCodecRequestQueue.erase(it);
|
||||
continue;
|
||||
}
|
||||
@ -168,7 +168,7 @@ void MediaResourceManagerService::cancelClientLocked(const sp<IBinder>& binder)
|
||||
|
||||
// Clear the client from the resource
|
||||
for (int i=0 ; i<mVideoDecoderCount ; i++) {
|
||||
if (mVideoDecoderSlots[i].mClient == binder) {
|
||||
if (mVideoDecoderSlots[i].mClient.get() == binder.get()) {
|
||||
mVideoDecoderSlots[i].mClient = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user