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

Unified Diff: webrtc/api/video/i420_buffer.cc

Issue 2745193002: iOS: Add new RTCVideoSource interface (Closed)
Patch Set: Remove didStart/didStop callbacks. Created 3 years, 9 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/sdk/BUILD.gn » ('j') | webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/video/i420_buffer.cc
diff --git a/webrtc/api/video/i420_buffer.cc b/webrtc/api/video/i420_buffer.cc
index 031b15940a275ad75b629b623b3de006e048656a..81f57898372365a5ffff51fe7c95af37782eff53 100644
--- a/webrtc/api/video/i420_buffer.cc
+++ b/webrtc/api/video/i420_buffer.cc
@@ -180,8 +180,7 @@ void* I420Buffer::native_handle() const {
}
rtc::scoped_refptr<VideoFrameBuffer> I420Buffer::NativeToI420Buffer() {
- RTC_NOTREACHED();
- return nullptr;
+ return this;
}
uint8_t* I420Buffer::MutableDataY() {
« no previous file with comments | « no previous file | webrtc/sdk/BUILD.gn » ('j') | webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698