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

Unified Diff: talk/app/webrtc/java/android/org/webrtc/EglBase10.java

Issue 1523843006: MediaCodecVideoEncoder, set timestamp on the encoder surface when drawing a texture. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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: talk/app/webrtc/java/android/org/webrtc/EglBase10.java
diff --git a/talk/app/webrtc/java/android/org/webrtc/EglBase10.java b/talk/app/webrtc/java/android/org/webrtc/EglBase10.java
index f2aa9857faf09e223f40c610ab816d3f8969f84c..36198301c853042a1cbe284f57b1c186d298def6 100644
--- a/talk/app/webrtc/java/android/org/webrtc/EglBase10.java
+++ b/talk/app/webrtc/java/android/org/webrtc/EglBase10.java
@@ -259,6 +259,12 @@ final class EglBase10 extends EglBase {
egl.eglSwapBuffers(eglDisplay, eglSurface);
}
+ @Override
+ public void swapBuffers(long timeStampNs) {
magjed_webrtc 2015/12/16 13:51:53 ditto - Remove this. It should never be called, ri
perkj_webrtc 2015/12/16 21:18:44 Done.
+ // Egl 1.0 does not support the extension to set the time stamp on a surface so ignore it.
+ swapBuffers();
+ }
+
// Return an EGLDisplay, or die trying.
private EGLDisplay getEglDisplay() {
EGLDisplay eglDisplay = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);

Powered by Google App Engine
This is Rietveld 408576698