webrtcvideoengine.cc | 186 : renderer_(renderer), width_(0), height_(0), watermark_enabled_(false) { 199 renderer_ = renderer; 205 if (width_ > 0 && height_ > 0 && renderer_ != NULL) { 206 if (!renderer_->SetSize(width_, height_, 0)) { 222 if (renderer_ == NULL) { 227 return renderer_->SetSize(width_, height_, 0) ? 0 : -1; 235 if (renderer_ == NULL) { 270 int ret = renderer_->RenderFrame(&video_frame) ? 0 : -1; 278 return renderer_->RenderFrame(&video_frame); 298 return renderer_; 303 VideoRenderer* renderer_; member in class:cricket::WebRtcRenderAdapter [all...] |