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

Unified Diff: webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm

Issue 2867703002: Reland of Delete deprecated and transitional stuff related to video frame refactoring. (Closed)
Patch Set: Rebase. Created 3 years, 7 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 | « webrtc/sdk/objc/Framework/Classes/corevideo_frame_buffer.cc ('k') | webrtc/test/fake_texture_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm b/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm
index deece20e9b7206e39a088bc2f8f00cd8b4b4028e..fc71085ca748a6b5f5f31231b084373b448bfd70 100644
--- a/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm
+++ b/webrtc/sdk/objc/Framework/Classes/objcvideotracksource.mm
@@ -12,6 +12,7 @@
#import "RTCVideoFrame+Private.h"
+#include "webrtc/api/video/i420_buffer.h"
#include "webrtc/sdk/objc/Framework/Classes/corevideo_frame_buffer.h"
namespace webrtc {
@@ -60,7 +61,7 @@ void ObjcVideoTrackSource::OnCapturedFrame(RTCVideoFrame* frame) {
// not critical here.
webrtc::VideoRotation rotation = static_cast<webrtc::VideoRotation>(frame.rotation);
if (apply_rotation() && rotation != kVideoRotation_0) {
- buffer = I420Buffer::Rotate(buffer->NativeToI420Buffer(), rotation);
+ buffer = I420Buffer::Rotate(*buffer->NativeToI420Buffer(), rotation);
rotation = kVideoRotation_0;
}
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/corevideo_frame_buffer.cc ('k') | webrtc/test/fake_texture_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698