From f818cbe24cdc44fd442e79dee23b442548534be3 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Tue, 10 Apr 2018 20:10:18 +0800 Subject: [PATCH] Not reset callback after stop capturing --- src/uvc/uvc-v4l2.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/uvc/uvc-v4l2.cc b/src/uvc/uvc-v4l2.cc index 7ba88f5..4d5fb69 100644 --- a/src/uvc/uvc-v4l2.cc +++ b/src/uvc/uvc-v4l2.cc @@ -347,7 +347,6 @@ struct device { LOG_ERROR(WARNING, "VIDIOC_REQBUFS"); } - callback = nullptr; is_capturing = false; }