diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2dda527 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "firmware"] + path = deps/rpi + url = https://github.com/raspberrypi/firmware.git diff --git a/deps/rpi b/deps/rpi new file mode 160000 index 0000000..4e156d5 --- /dev/null +++ b/deps/rpi @@ -0,0 +1 @@ +Subproject commit 4e156d57556e1c7b0fff37e088d9de1f362da6df diff --git a/src/main.cpp b/src/main.cpp index ea755af..736a52e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -49,7 +49,7 @@ class MyEncodedStream : public fp::VideoStream { break; } - m_File = fopen(buffer, "wb"); +// m_File = fopen(buffer, "wb"); } void supplyFrame(const uint8_t* data, size_t size, Metadata* metadata) override { @@ -181,4 +181,4 @@ int main(int argc, char **argv) std::this_thread::sleep_for(std::chrono::milliseconds(100)); } return 0; -} \ No newline at end of file +}