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

Unified Diff: webrtc/api/java/jni/peerconnection_jni.cc

Issue 1885443002: Rename some cricket::VideoFrame methods, to align with webrtc::VideoFrame. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | webrtc/api/objc/RTCVideoFrame.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/java/jni/peerconnection_jni.cc
diff --git a/webrtc/api/java/jni/peerconnection_jni.cc b/webrtc/api/java/jni/peerconnection_jni.cc
index a250b707e656aeccb595ddb7bcaea8e45f527b11..cbdcbe0285150fb45dbf5324c0d4bcaef2d7c83b 100644
--- a/webrtc/api/java/jni/peerconnection_jni.cc
+++ b/webrtc/api/java/jni/peerconnection_jni.cc
@@ -783,7 +783,7 @@ class JavaVideoRendererWrapper
return jni()->NewObject(
*j_frame_class_, j_i420_frame_ctor_id_,
frame->width(), frame->height(),
- static_cast<int>(frame->GetVideoRotation()),
+ static_cast<int>(frame->rotation()),
strides, planes, javaShallowCopy(frame));
}
@@ -796,7 +796,7 @@ class JavaVideoRendererWrapper
return jni()->NewObject(
*j_frame_class_, j_texture_frame_ctor_id_,
frame->width(), frame->height(),
- static_cast<int>(frame->GetVideoRotation()),
+ static_cast<int>(frame->rotation()),
handle->oes_texture_id, sampling_matrix, javaShallowCopy(frame));
}
« no previous file with comments | « no previous file | webrtc/api/objc/RTCVideoFrame.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698