From f07feed9ab7f95d14870738db51de3aee16208f8 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Fri, 27 Jul 2012 17:31:07 -0400 Subject: [PATCH] * #13989: fix segfault on IP2IP offhold --- daemon/src/video/video_rtp_session.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/src/video/video_rtp_session.cpp b/daemon/src/video/video_rtp_session.cpp index 5d54f4f1bd..2976598dca 100644 --- a/daemon/src/video/video_rtp_session.cpp +++ b/daemon/src/video/video_rtp_session.cpp @@ -145,7 +145,10 @@ void VideoRtpSession::stop() void VideoRtpSession::forceKeyFrame() { - sendThread_->forceKeyFrame(); + if (sendThread_.get()) + sendThread_->forceKeyFrame(); + else + ERROR("Video sending thread is NULL"); } } // end namespace sfl_video -- GitLab