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

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..e853b10e98d4f3118dedcaa11082cdb89cdca5a9 100644
--- a/ppapi/api/ppb_video_frame.idl
+++ b/ppapi/api/ppb_video_frame.idl
@@ -6,6 +6,9 @@
/**
* Defines the <code>PPB_VideoFrame</code> interface.
*/
+
+[generate_thunk]
+
label Chrome {
[channel=dev] M34 = 0.1
};
@@ -62,6 +65,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 +89,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