Index: ppapi/api/ppb_video_frame.idl |
diff --git a/ppapi/api/ppb_video_frame.idl b/ppapi/api/ppb_video_frame.idl |
index 1cb8336738edb84c7f348af6f1f5e59030a8d8f2..37ca8992962b9ad7e6c5b4b53ac198b4fcaf0581 100644 |
--- a/ppapi/api/ppb_video_frame.idl |
+++ b/ppapi/api/ppb_video_frame.idl |
@@ -3,6 +3,8 @@ |
* found in the LICENSE file. |
*/ |
+[generate_thunk] |
+ |
/** |
* Defines the <code>PPB_VideoFrame</code> interface. |
*/ |
@@ -62,6 +64,7 @@ interface PPB_VideoFrame { |
* @return A <code>PP_TimeDelta</code> containing the timestamp of the video |
* frame. Given in seconds since the start of the containing video stream. |
*/ |
+ [on_failure=0.0] |
PP_TimeDelta GetTimestamp([in] PP_Resource frame); |
/** |
@@ -85,6 +88,7 @@ interface PPB_VideoFrame { |
* @return A <code>PP_VideoFrame_Format</code> containing the format of the |
* video frame. |
*/ |
+ [on_failure=PP_VIDEOFRAME_FORMAT_UNKNOWN] |
PP_VideoFrame_Format GetFormat([in] PP_Resource frame); |
/** |