Index: webrtc/video/video_receive_stream.cc |
diff --git a/webrtc/video/video_receive_stream.cc b/webrtc/video/video_receive_stream.cc |
index 5f2975b1673a7c7d9cf90e6f07a40ca08e96f8f1..94a5d7ec589b8fbe337a1c66f278ba80c82e810a 100644 |
--- a/webrtc/video/video_receive_stream.cc |
+++ b/webrtc/video/video_receive_stream.cc |
@@ -374,7 +374,9 @@ void VideoReceiveStream::FrameCallback(VideoFrame* video_frame) { |
stats_proxy_.OnDecodedFrame(); |
// Post processing is not supported if the frame is backed by a texture. |
- if (!video_frame->native_handle()) { |
+ // TODO(nisse): Is it allowed to have video_frame_buffer() return a |
perkj_webrtc
2016/04/13 05:44:08
no
|
+ // nullptr here? |
+ if (!video_frame->video_frame_buffer()->native_handle()) { |
if (config_.pre_render_callback) |
config_.pre_render_callback->FrameCallback(video_frame); |
} |