Chromium Code Reviews| 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..c4d885f07d4bafdbd6ad823b51a3d27038e16c59 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); |
| /** |
| @@ -77,9 +81,6 @@ interface PPB_MediaStreamVideoTrack { |
| * <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 |
|
bbudge
2014/01/09 18:55:26
nit: remove the comma here to improve readability.
Peng
2014/01/09 19:09:38
Done.
|
| * 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. |