Index: webrtc/video/video_stream_decoder.cc |
diff --git a/webrtc/video/video_stream_decoder.cc b/webrtc/video/video_stream_decoder.cc |
index 6797353161dce52cb74a8d8dac1370a7bce871c1..cf77833a5182e3170225ab1445ea12f5e311f7c4 100644 |
--- a/webrtc/video/video_stream_decoder.cc |
+++ b/webrtc/video/video_stream_decoder.cc |
@@ -86,6 +86,8 @@ int32_t VideoStreamDecoder::FrameToRender(VideoFrame& video_frame) { // NOLINT |
if (incoming_video_stream_) |
incoming_video_stream_->OnFrame(video_frame); |
+ else |
+ LOG(LS_INFO) << "Dropping frame because incoming_video_stream_ is NULL."; |
stefan-webrtc
2016/09/26 10:44:09
AFAICT this can never happen as incoming_video_str
sakal
2016/09/26 11:23:59
It looks like this class is instantiated here: htt
stefan-webrtc
2016/09/26 11:39:22
Seems like it's always being set outside of Call t
magjed_webrtc
2016/09/27 15:06:11
There is probably no reason to not attach a render
|
return 0; |
} |