Skip to content
Snippets Groups Projects
Commit 248e21bf authored by Pierre Lespagnol's avatar Pierre Lespagnol Committed by Adrien Béraud
Browse files

video_input: fix crash when the video input is stopped during EBUSY state

Change-Id: If77d5cd33aae4607975caca46fd0a9f649975a54
Gitlab: #233
parent cf5f1281
No related branches found
No related tags found
No related merge requests found
......@@ -294,6 +294,9 @@ VideoInput::createDecoder()
std::this_thread::sleep_for(std::chrono::milliseconds(10));
}
if (isStopped_)
return;
if (restartSink && !isStopped_) {
sink_->start();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment