diff --git a/components/rgbd-sources/src/stereovideo.cpp b/components/rgbd-sources/src/stereovideo.cpp
index 35992872b3c34ff866a2c2c28e613a7e8e6fe66d..0d20780c275a43a2338fd9d81a6a98f13619c3a2 100644
--- a/components/rgbd-sources/src/stereovideo.cpp
+++ b/components/rgbd-sources/src/stereovideo.cpp
@@ -172,6 +172,8 @@ void StereoVideoSource::swap() {
 bool StereoVideoSource::compute(int n, int b) {	
 	const ftl::rgbd::channel_t chan = host_->getChannel();
 
+	if (left_.empty() || right_.empty()) return false;
+
 	if (chan == ftl::rgbd::kChanDepth) {
 		//lsrc_->get(left_, right_, stream_);
 		if (depth_tmp_.empty()) depth_tmp_ = cv::cuda::GpuMat(left_.size(), CV_32FC1);