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

Unified Diff: ppapi/cpp/media_stream_video_track.h

Issue 150403006: [PPAPI][MediaStream] Support configure for video input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 6 years, 10 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/cpp/media_stream_video_track.h
diff --git a/ppapi/cpp/media_stream_video_track.h b/ppapi/cpp/media_stream_video_track.h
index 52a0551e81cd32586e92fb4bd1140066366238fc..268e031a209f1b45e713041495774348b5a1eb08 100644
--- a/ppapi/cpp/media_stream_video_track.h
+++ b/ppapi/cpp/media_stream_video_track.h
@@ -73,6 +73,9 @@ class MediaStreamVideoTrack : public Resource {
/// completion of <code>Configure()</code>.
///
/// @return An int32_t containing a result code from <code>pp_errors.h</code>.
+ /// Returns <code>PP_ERROR_INPROGRESS</code> if there is a pending call of
+ /// <code>Configure()</code> or <code>GetFrame()</code>, or the plugin
+ /// holds some frames which are not recycled with <code>RecycleFrame()</code>.
int32_t Configure(const int32_t attributes[],
const CompletionCallback& callback);

Powered by Google App Engine
This is Rietveld 408576698