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

Unified Diff: webrtc/sdk/android/src/java/org/webrtc/WrappedNativeI420Buffer.java

Issue 2991633002: Implement AndroidVideoBuffer::ToI420. (Closed)
Patch Set: Add comments. Created 3 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: webrtc/sdk/android/src/java/org/webrtc/WrappedNativeI420Buffer.java
diff --git a/webrtc/sdk/android/src/java/org/webrtc/WrappedNativeI420Buffer.java b/webrtc/sdk/android/src/java/org/webrtc/WrappedNativeI420Buffer.java
index 0282afbbef94df6f01c43d33afbeed4adddc61c3..96cc9f1a0221e08740ad387a761f909da17de8c7 100644
--- a/webrtc/sdk/android/src/java/org/webrtc/WrappedNativeI420Buffer.java
+++ b/webrtc/sdk/android/src/java/org/webrtc/WrappedNativeI420Buffer.java
@@ -81,6 +81,7 @@ class WrappedNativeI420Buffer implements VideoFrame.I420Buffer {
@Override
public VideoFrame.I420Buffer toI420() {
+ retain();
return this;
}
« no previous file with comments | « webrtc/sdk/android/src/java/org/webrtc/I420BufferImpl.java ('k') | webrtc/sdk/android/src/jni/native_handle_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698