Commit ae0fa0d4 authored by Adrien Béraud's avatar Adrien Béraud

video_rtp_session: check rx thread for null

Change-Id: Iecdceb428e0c174883c94754444c0046606e4bcb
parent cd512073
......@@ -251,7 +251,8 @@ void VideoRtpSession::forceKeyFrame()
void
VideoRtpSession::setRotation(int rotation)
{
receiveThread_->setRotation(rotation);
if (receiveThread_)
receiveThread_->setRotation(rotation);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment