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

Unified Diff: ppapi/api/ppb_video_frame.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: Update 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
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);
/**

Powered by Google App Engine
This is Rietveld 408576698