| Index: webrtc/api/androidvideotracksource.cc
|
| diff --git a/webrtc/api/androidvideotracksource.cc b/webrtc/api/androidvideotracksource.cc
|
| index 947311a83ea586bb7930572cd842e593b91175c8..9242e5faf9baf13bb46fbf164288a61ffe06a0e5 100644
|
| --- a/webrtc/api/androidvideotracksource.cc
|
| +++ b/webrtc/api/androidvideotracksource.cc
|
| @@ -95,8 +95,9 @@
|
| buffer->MutableDataU(), buffer->StrideU(),
|
| buffer->width(), buffer->height());
|
|
|
| - OnFrame(VideoFrame(buffer, static_cast<webrtc::VideoRotation>(rotation),
|
| - translated_camera_time_us));
|
| + OnFrame(cricket::WebRtcVideoFrame(
|
| + buffer, static_cast<webrtc::VideoRotation>(rotation),
|
| + translated_camera_time_us));
|
| }
|
|
|
| void AndroidVideoTrackSource::OnTextureFrameCaptured(
|
| @@ -146,13 +147,13 @@
|
| matrix.Rotate(static_cast<webrtc::VideoRotation>(rotation));
|
| }
|
|
|
| - OnFrame(VideoFrame(
|
| - surface_texture_helper_->CreateTextureFrame(
|
| - adapted_width, adapted_height,
|
| - webrtc_jni::NativeHandleImpl(handle.oes_texture_id, matrix)),
|
| - do_rotate ? webrtc::kVideoRotation_0
|
| - : static_cast<webrtc::VideoRotation>(rotation),
|
| - translated_camera_time_us));
|
| + OnFrame(cricket::WebRtcVideoFrame(
|
| + surface_texture_helper_->CreateTextureFrame(
|
| + adapted_width, adapted_height,
|
| + webrtc_jni::NativeHandleImpl(handle.oes_texture_id, matrix)),
|
| + do_rotate ? webrtc::kVideoRotation_0
|
| + : static_cast<webrtc::VideoRotation>(rotation),
|
| + translated_camera_time_us));
|
| }
|
|
|
| void AndroidVideoTrackSource::OnOutputFormatRequest(int width,
|
|
|