aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-streaming.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
index 948b820c..6d8e4fbc 100644
--- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@ -2501,6 +2501,15 @@ static void stateless_m2m(cv4l_fd &fd, cv4l_queue &in, cv4l_queue &out,
}
index = (index + 1) % out.g_buffers();
}
+
+ fcntl(fd.g_fd(), F_SETFL, fd_flags);
+ fprintf(stderr, "\n");
+
+ fd.streamoff(in.g_type());
+ fd.streamoff(out.g_type());
+ in.free(&fd);
+ out.free(&fd);
+ tpg_free(&tpg);
}
static void streaming_set_m2m(cv4l_fd &fd, cv4l_fd &exp_fd)

Privacy Policy