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

Unified Diff: ppapi/c/dev/ppb_video_decoder_dev.h

Issue 7474006: PPB_VideoDecoder_Dev::Initialize is now synchronous! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/c/dev/ppb_video_decoder_dev.h
diff --git a/ppapi/c/dev/ppb_video_decoder_dev.h b/ppapi/c/dev/ppb_video_decoder_dev.h
index 24cab185ea44ccfd5d311dc9ef439615526d299b..b141b5828efaacbc840aa77fc502a78eb0406700 100644
--- a/ppapi/c/dev/ppb_video_decoder_dev.h
+++ b/ppapi/c/dev/ppb_video_decoder_dev.h
@@ -9,8 +9,8 @@
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_var.h"
-#define PPB_VIDEODECODER_DEV_INTERFACE_0_14 "PPB_VideoDecoder(Dev);0.14"
-#define PPB_VIDEODECODER_DEV_INTERFACE PPB_VIDEODECODER_DEV_INTERFACE_0_14
+#define PPB_VIDEODECODER_DEV_INTERFACE_0_15 "PPB_VideoDecoder(Dev);0.15"
+#define PPB_VIDEODECODER_DEV_INTERFACE PPB_VIDEODECODER_DEV_INTERFACE_0_15
// Video decoder interface.
//
@@ -57,13 +57,11 @@ struct PPB_VideoDecoder_Dev {
// |context| the GL context in which decoding will happen. This should be a
// resource of type PPB_Context3D_Dev.
// |decoder_config| the configuration to use to initialize the decoder.
- // |callback| called after initialization is complete.
//
// Returns an error code from pp_errors.h.
int32_t (*Initialize)(PP_Resource video_decoder,
PP_Resource context,
- const PP_VideoConfigElement* decoder_config,
- struct PP_CompletionCallback callback);
+ const PP_VideoConfigElement* decoder_config);
piman 2011/07/28 23:40:59 Does it make sense to fold this into Create ?
Ami GONE FROM CHROMIUM 2011/07/29 05:58:48 Hell yes it does! Done.
// Dispatches bitstream buffer to the decoder.
//

Powered by Google App Engine
This is Rietveld 408576698