We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8d8ed6 commit 9450f49Copy full SHA for 9450f49
wrappers/python/pyrs_frame.cpp
@@ -58,7 +58,7 @@ void init_frame(py::module &m) {
58
}
59
60
else
61
- return BufData(const_cast<void*>(self.get_data()), 1, std::string("@B"), 0); };
+ return BufData(const_cast<void*>(self.get_data()), 1, std::string("@B"), self.get_data_size()); };
62
63
/* rs_frame.hpp */
64
py::class_<rs2::stream_profile> stream_profile(m, "stream_profile", "Stores details about the profile of a stream.");
0 commit comments