Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / doc_generated / pepper_dev / c / struct_p_p_b___media_stream_video_track__0__1.html
index bc04152..a0b666e 100644 (file)
@@ -53,7 +53,7 @@ Data Fields</h2><table class="memberdecls">
 </div>
 <div class="memdoc">
 <p>Configures underlying frame buffers for incoming frames. </p>
-<p>If the application doesn't want to drop frames, then the <code>PP_MEDIASTREAMVIDEOTRACK_ATTRIB_BUFFERED_FRAMES</code> should be chosen such that inter-frame processing time variability won't overrun the input buffer. If the buffer is overfilled, then frames will be dropped. The application can detect this by examining the timestamp on returned frames. If <code><a class="el" href="struct_p_p_b___media_stream_video_track__0__1.html#a98c8c0e119ae9e5c77340c7e6c21c100" title="Configures underlying frame buffers for incoming frames.">Configure()</a></code> is not called, default settings will be used. Example usage from plugin code: </p>
+<p>If the application doesn't want to drop frames, then the <code>PP_MEDIASTREAMVIDEOTRACK_ATTRIB_BUFFERED_FRAMES</code> should be chosen such that inter-frame processing time variability won't overrun the input buffer. If the buffer is overfilled, then frames will be dropped. The application can detect this by examining the timestamp on returned frames. If some attributes are not specified, default values will be used for those unspecified attributes. If <code><a class="el" href="struct_p_p_b___media_stream_video_track__0__1.html#a98c8c0e119ae9e5c77340c7e6c21c100" title="Configures underlying frame buffers for incoming frames.">Configure()</a></code> is not called, default settings will be used. Example usage from plugin code: </p>
 <div class="fragment"><pre class="fragment"> int32_t attribs[] = {
      <a class="code" href="group___enums.html#gga49cd0a65c15c8a91959310699afc36b7a82a5dbfcbfa8f78e80ccf2c5607bf327" title="The maximum number of frames to hold in the input buffer.">PP_MEDIASTREAMVIDEOTRACK_ATTRIB_BUFFERED_FRAMES</a>, 4,
      <a class="code" href="group___enums.html#gga49cd0a65c15c8a91959310699afc36b7a0d5a46a7dbdfc72630e58159a4ac7c50" title="Attribute list terminator.">PP_MEDIASTREAMVIDEOTRACK_ATTRIB_NONE</a>};
@@ -66,7 +66,7 @@ Data Fields</h2><table class="memberdecls">
 </table>
 </dd>
 </dl>
-<dl class="return"><dt><b>Returns:</b></dt><dd>An int32_t containing a result code from <code><a class="el" href="pp__errors_8h.html" title="This file defines an enumeration of all PPAPI error codes.">pp_errors.h</a></code>. </dd></dl>
+<dl class="return"><dt><b>Returns:</b></dt><dd>An int32_t containing a result code from <code><a class="el" href="pp__errors_8h.html" title="This file defines an enumeration of all PPAPI error codes.">pp_errors.h</a></code>. Returns <code>PP_ERROR_INPROGRESS</code> if there is a pending call of <code><a class="el" href="struct_p_p_b___media_stream_video_track__0__1.html#a98c8c0e119ae9e5c77340c7e6c21c100" title="Configures underlying frame buffers for incoming frames.">Configure()</a></code> or <code><a class="el" href="struct_p_p_b___media_stream_video_track__0__1.html#ad43cf4d43fb51164869f606e059aaa2b" title="Gets the next video frame from the MediaStream track.">GetFrame()</a></code>, or the plugin holds some frames which are not recycled with <code><a class="el" href="struct_p_p_b___media_stream_video_track__0__1.html#a83799a7e7956d469b1864b9810ff1552" title="Recycles a frame returned by GetFrame(), so the track can reuse the underlying buffer of this frame...">RecycleFrame()</a></code>. If an error is returned, all attributes and the underlying buffer will not be changed. </dd></dl>
 </div>
 </div>
 <a class="anchor" id="a736c4e4cc07b3d6cbff9d3318b290b5a"></a><!-- doxytag: member="PPB_MediaStreamVideoTrack::GetAttrib" ref="a736c4e4cc07b3d6cbff9d3318b290b5a" args=")(PP_Resource video_track, PP_MediaStreamVideoTrack_Attrib attrib, int32_t *value)" -->