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

Issue 7204038: Fix PPB_VideoDecoder_Impl::NotifyEndOfBitstreamBuffer to use correct ID. (Closed)

Created:
9 years, 6 months ago by Ami GONE FROM CHROMIUM
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, vjain, cfreeman, vhiremath
Visibility:
Public.

Description

Fix PPB_VideoDecoder_Impl::NotifyEndOfBitstreamBuffer to use correct ID. Enhanced gles2.cc sample plugin to have multipe decodes outstanding at a time, and assert that we get back from the decode API exactly the bitstream buffers we sent to it. This CL is relative to http://codereview.chromium.org/7200033/ which must land first. BUG=86235 TEST=gles2 sample plugin completes correctly even with concurrent Decode()s. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89779

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -31 lines) Patch
M ppapi/examples/gles2/gles2.cc View 1 2 3 11 chunks +34 lines, -18 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.cc View 3 chunks +9 lines, -12 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ami GONE FROM CHROMIUM
brettw: OWNERS for webkit/plugins/ppapi please scherkus: enjoy! vjain: please verify that this works for you ...
9 years, 6 months ago (2011-06-20 20:27:28 UTC) #1
brettw
ppapi LGTM http://codereview.chromium.org/7204038/diff/1/webkit/plugins/ppapi/ppb_video_decoder_impl.h File webkit/plugins/ppapi/ppb_video_decoder_impl.h (right): http://codereview.chromium.org/7204038/diff/1/webkit/plugins/ppapi/ppb_video_decoder_impl.h#newcode78 webkit/plugins/ppapi/ppb_video_decoder_impl.h:78: typedef std::map<int32, PP_CompletionCallback> CallbackById; Can you clarify ...
9 years, 6 months ago (2011-06-20 21:51:06 UTC) #2
Ami GONE FROM CHROMIUM
Thanks for the fast review! http://codereview.chromium.org/7204038/diff/1/webkit/plugins/ppapi/ppb_video_decoder_impl.h File webkit/plugins/ppapi/ppb_video_decoder_impl.h (right): http://codereview.chromium.org/7204038/diff/1/webkit/plugins/ppapi/ppb_video_decoder_impl.h#newcode78 webkit/plugins/ppapi/ppb_video_decoder_impl.h:78: typedef std::map<int32, PP_CompletionCallback> CallbackById; ...
9 years, 6 months ago (2011-06-20 22:13:02 UTC) #3
scherkus (not reviewing)
LGTM I think I was overly cautious about the assert-in-release-mode so feel free to ignore. ...
9 years, 6 months ago (2011-06-21 01:22:27 UTC) #4
Ami GONE FROM CHROMIUM
9 years, 6 months ago (2011-06-21 01:35:22 UTC) #5
Right, assert() is being kept even in NDEBUG builds.

http://codereview.chromium.org/7204038/diff/2003/ppapi/examples/gles2/gles2.cc
File ppapi/examples/gles2/gles2.cc (right):

http://codereview.chromium.org/7204038/diff/2003/ppapi/examples/gles2/gles2.c...
ppapi/examples/gles2/gles2.cc:201: assert(!bitstream_ids_at_decoder_.size());
On 2011/06/21 01:22:27, scherkus wrote:
> empty?

Done.

Powered by Google App Engine
This is Rietveld 408576698