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

Unified Diff: remoting/client/plugin/pepper_video_renderer_3d.h

Issue 1207043002: Introduce a client minimum picture pool size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: remoting/client/plugin/pepper_video_renderer_3d.h
diff --git a/remoting/client/plugin/pepper_video_renderer_3d.h b/remoting/client/plugin/pepper_video_renderer_3d.h
index afe3c93edcda39ba8264e998513dcf6b3905eac2..0b721a85042fb8dfe2b1002bc955fb837250a16b 100644
--- a/remoting/client/plugin/pepper_video_renderer_3d.h
+++ b/remoting/client/plugin/pepper_video_renderer_3d.h
@@ -95,6 +95,10 @@ class PepperVideoRenderer3D : public PepperVideoRenderer,
// CHECKs that the last OpenGL call has completed successfully.
void CheckGLError();
+ // The implementation here requires this minimum number of pictures from the
+ // video decoder interface to work.
+ static const uint32_t kMinimumPictureCount = 3;
Sergey Ulanov 2015/08/11 23:10:20 This doesn't need to be defined in the class. It c
+
EventHandler* event_handler_;
pp::Graphics3D graphics_;

Powered by Google App Engine
This is Rietveld 408576698