diff options
author | penghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 03:15:16 +0000 |
---|---|---|
committer | penghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 03:15:16 +0000 |
commit | 2d453afa047dff79f5f198c149a0ae5b7cb14b83 (patch) | |
tree | 6a5ad4f8bae31f258a0cc3ee01de81841725a748 /ppapi/api/ppb_video_frame.idl | |
parent | 7b6143bd7915e6638d25c94b1d29efdbd7935913 (diff) | |
download | chromium_src-2d453afa047dff79f5f198c149a0ae5b7cb14b83.zip chromium_src-2d453afa047dff79f5f198c149a0ae5b7cb14b83.tar.gz chromium_src-2d453afa047dff79f5f198c149a0ae5b7cb14b83.tar.bz2 |
[PPAPI] API thunk for video media stream track.
BUG=330851
Review URL: https://codereview.chromium.org/126823007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/ppb_video_frame.idl')
-rw-r--r-- | ppapi/api/ppb_video_frame.idl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ppapi/api/ppb_video_frame.idl b/ppapi/api/ppb_video_frame.idl index 1cb8336..e853b10 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); /** |