Index: ppapi/api/ppb_media_stream_video_track.idl |
diff --git a/ppapi/api/ppb_media_stream_video_track.idl b/ppapi/api/ppb_media_stream_video_track.idl |
index f6e1238f6e56191af658a0fb04b8de1376fc61d4..30526607d30ca98580103e641ce830fa9a7dd10f 100644 |
--- a/ppapi/api/ppb_media_stream_video_track.idl |
+++ b/ppapi/api/ppb_media_stream_video_track.idl |
@@ -8,6 +8,9 @@ |
* receiving video frames from a MediaStream video track in the browser. |
* This interface is still in development (Dev API status) and may change. |
*/ |
+ |
+[generate_thunk] |
+ |
label Chrome { |
[channel=dev] M34 = 0.1 |
}; |
@@ -65,6 +68,7 @@ interface PPB_MediaStreamVideoTrack { |
* @return A <code>PP_Bool</code> with <code>PP_TRUE</code> if the given |
* MediaStream track has ended or <code>PP_FALSE</code> otherwise. |
*/ |
+ [on_failure=PP_TRUE] |
PP_Bool HasEnded([in] PP_Resource video_track); |
/** |
@@ -75,11 +79,8 @@ interface PPB_MediaStreamVideoTrack { |
* a spot for another frame to be buffered. |
* If there are no frames in the input buffer, |
* <code>PP_OK_COMPLETIONPENDING</code> will be returned immediately and the |
- * <code>callback</code> will be called, when a new frame is received or an |
+ * <code>callback</code> will be called when a new frame is received or an |
* error happens. |
- * If the caller holds a frame returned by the previous call of |
- * <code>GetFrame()</code>, <code>PP_ERROR_INPROGRESS</code> will be returned. |
- * The caller should recycle the previous frame before getting the next frame. |
* |
* @param[in] video_track A <code>PP_Resource</code> corresponding to a video |
* resource. |