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

Unified Diff: talk/app/webrtc/java/jni/androidmediadecoder_jni.cc

Issue 1460703002: Implement AndroidTextureBuffer::NativeToI420. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed Magnus' comments. 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/jni/androidmediadecoder_jni.cc
diff --git a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc
index 4554e7b59cacbe590b12757faf1fae59e2a32599..ec29d54f3812c1ddc462bbcf963e5094f19c7547 100644
--- a/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc
+++ b/talk/app/webrtc/java/jni/androidmediadecoder_jni.cc
@@ -636,7 +636,9 @@ bool MediaCodecVideoDecoder::DeliverPendingOutputs(
// Create webrtc::VideoFrameBuffer with native texture handle.
frame_buffer = surface_texture_helper_->CreateTextureFrame(
- width, height, NativeHandleImpl(jni, texture_id, j_transform_matrix));
+ width, height, NativeHandleImpl(
+ jni,
+ texture_id, j_transform_matrix));
}
perkj_webrtc 2015/12/07 12:53:50 revert change
nisse-webrtc 2015/12/08 11:44:51 Done.
} else {
// Extract data from Java ByteBuffer and create output yuv420 frame -
@@ -895,4 +897,3 @@ void MediaCodecVideoDecoderFactory::DestroyVideoDecoder(
}
} // namespace webrtc_jni
-

Powered by Google App Engine
This is Rietveld 408576698