summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_video_decoder_api.h
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 19:25:38 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 19:25:38 +0000
commitc8423065a0054dc81e72801dfd60b99483f70b79 (patch)
treec23140bb47c7edfb80309ffa767ba301167acb8b /ppapi/thunk/ppb_video_decoder_api.h
parent94bef5ad7ddd08327f7d80d50a187c86d78fccf7 (diff)
downloadchromium_src-c8423065a0054dc81e72801dfd60b99483f70b79.zip
chromium_src-c8423065a0054dc81e72801dfd60b99483f70b79.tar.gz
chromium_src-c8423065a0054dc81e72801dfd60b99483f70b79.tar.bz2
PPB_VideoDecoder_Dev::Initialize is now synchronous!
Apparently flash can't deal with async init, so we make it synchronous. We keep processing in the GPU process asynchronous and just take the blocking hit on the renderer. BUG=none TEST=gles2, ovdatest, trybots Review URL: http://codereview.chromium.org/7474006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_video_decoder_api.h')
-rw-r--r--ppapi/thunk/ppb_video_decoder_api.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ppapi/thunk/ppb_video_decoder_api.h b/ppapi/thunk/ppb_video_decoder_api.h
index 5f8063c..e17d22b 100644
--- a/ppapi/thunk/ppb_video_decoder_api.h
+++ b/ppapi/thunk/ppb_video_decoder_api.h
@@ -14,9 +14,6 @@ class PPB_VideoDecoder_API {
public:
virtual ~PPB_VideoDecoder_API() {}
- virtual int32_t Initialize(PP_Resource context_id,
- const PP_VideoConfigElement* decoder_config,
- PP_CompletionCallback callback) = 0;
virtual int32_t Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
PP_CompletionCallback callback) = 0;
virtual void AssignPictureBuffers(uint32_t no_of_buffers,