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

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

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
« no previous file with comments | « ppapi/c/dev/deprecated_bool.h ('k') | ppapi/c/dev/ppb_audio_config_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/pp_video_dev.h
===================================================================
--- ppapi/c/dev/pp_video_dev.h (revision 65116)
+++ ppapi/c/dev/pp_video_dev.h (working copy)
@@ -5,6 +5,7 @@
#ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_
#define PPAPI_C_DEV_PP_VIDEO_DEV_H_
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
@@ -245,9 +246,9 @@
// Output from decoder, indicating the decoded frame has error pixels. This
// could be resulted from corrupted input bit stream and error concealment
- // in decoding.
+ // in decoding. PP_TRUE indicates error.
// TODO(wjia): add more info about error pixels, such as error MB map, etc.
- bool has_error;
+ PP_Bool error;
};
// Plugin callback for decoder to deliver decoded frame buffers.
@@ -274,7 +275,7 @@
// data1 is type of PP_Rect*, data2 is ignored;
typedef void (*PP_VideoDecodeEventHandler_Func_Dev)(
PP_Instance instance,
- PP_VideoDecoderEvent_Dev event,
+ enum PP_VideoDecoderEvent_Dev event,
PP_VideoDecodeData_Dev data1,
PP_VideoDecodeData_Dev data2);
« no previous file with comments | « ppapi/c/dev/deprecated_bool.h ('k') | ppapi/c/dev/ppb_audio_config_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698