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

Unified Diff: ppapi/api/ppb_media_stream_video_track.idl

Issue 126823007: [PPAPI] API thunk for video media stream track. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@video_track_thunk
Patch Set: Rebase Created 6 years, 11 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
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | ppapi/api/ppb_video_frame.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | ppapi/api/ppb_video_frame.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698