Revert "Add support of texture frames for video capturer."
This reverts commit 83c89cd003be75d7d06ef9a2b139588f08d280ca. Reason: The Buildbot has detected a new failure on builder Android Chromium-APK Tests. BUG=chromium:362437 TBR=fischman@webrtc.org, perkj@webrtc.org, stefan@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12599004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6253 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -55,7 +55,12 @@ int32_t VideoRenderFrames::AddFrame(I420VideoFrame* new_frame) {
|
||||
}
|
||||
|
||||
if (new_frame->native_handle() != NULL) {
|
||||
incoming_frames_.push_back(new_frame->CloneFrame());
|
||||
incoming_frames_.push_back(new TextureVideoFrame(
|
||||
static_cast<NativeHandle*>(new_frame->native_handle()),
|
||||
new_frame->width(),
|
||||
new_frame->height(),
|
||||
new_frame->timestamp(),
|
||||
new_frame->render_time_ms()));
|
||||
return static_cast<int32_t>(incoming_frames_.size());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user