Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Issue 10832263: OMX: Don't leave FreeOutputBuffers if MakeCurrent fails. (Closed)

Created:
8 years, 4 months ago by marcheu
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, feature-media-reviews_chromium.org
Base URL:
https://git.chromium.org/git/chromium/src@git-svn
Visibility:
Public.

Description

OMX: Don't leave FreeOutputBuffers if MakeCurrent fails. If it fails, we still want to free the OMX resources. BUG=chrome-os-partner:12316 TEST=by hand: play a video, look for buffer leaks. Change-Id: Ifcc4fe4248b72067e4592224b24fdb716ab4b230 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151376

Patch Set 1 #

Total comments: 3

Patch Set 2 : Don't call MakeCurrent at all in the destroy path. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -3 lines) Patch
M content/common/gpu/media/omx_video_decode_accelerator.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
marcheu
8 years, 4 months ago (2012-08-11 03:07:24 UTC) #1
Ami GONE FROM CHROMIUM
LGTM % nit & q https://chromiumcodereview.appspot.com/10832263/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10832263/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode725 content/common/gpu/media/omx_video_decode_accelerator.cc:725: if (make_context_current_.Run()) multi-line if ...
8 years, 4 months ago (2012-08-11 04:23:37 UTC) #2
piman
https://chromiumcodereview.appspot.com/10832263/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc File content/common/gpu/media/omx_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/10832263/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode725 content/common/gpu/media/omx_video_decode_accelerator.cc:725: if (make_context_current_.Run()) It doesn't look like we need to ...
8 years, 4 months ago (2012-08-11 04:50:12 UTC) #3
Ami GONE FROM CHROMIUM
On 2012/08/11 04:50:12, piman wrote: > https://chromiumcodereview.appspot.com/10832263/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc > File content/common/gpu/media/omx_video_decode_accelerator.cc (right): > > https://chromiumcodereview.appspot.com/10832263/diff/1/content/common/gpu/media/omx_video_decode_accelerator.cc#newcode725 > ...
8 years, 4 months ago (2012-08-11 17:19:22 UTC) #4
piman
On Sat, Aug 11, 2012 at 10:19 AM, <fischman@chromium.org> wrote: > On 2012/08/11 04:50:12, piman ...
8 years, 4 months ago (2012-08-11 20:19:32 UTC) #5
marcheu
On 2012/08/11 20:19:32, piman wrote: > On Sat, Aug 11, 2012 at 10:19 AM, <mailto:fischman@chromium.org> ...
8 years, 4 months ago (2012-08-13 18:10:38 UTC) #6
Ami GONE FROM CHROMIUM
lgtm
8 years, 4 months ago (2012-08-13 18:27:51 UTC) #7
piman
lgtm
8 years, 4 months ago (2012-08-13 18:28:14 UTC) #8
Pawel Osciak
lgtm
8 years, 4 months ago (2012-08-13 18:54:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marcheu@chromium.org/10832263/6001
8 years, 4 months ago (2012-08-13 21:23:38 UTC) #10
commit-bot: I haz the power
8 years, 4 months ago (2012-08-13 22:49:01 UTC) #11
Change committed as 151376

Powered by Google App Engine
This is Rietveld 408576698