Skip to content

Commit

Permalink
Added Raspberry Pi firmware dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sapharow committed Feb 21, 2017
1 parent 9b6a4e6 commit aaadeed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "firmware"]
path = deps/rpi
url = https://github.com/raspberrypi/firmware.git
1 change: 1 addition & 0 deletions deps/rpi
Submodule rpi added at 4e156d
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -181,4 +181,4 @@ int main(int argc, char **argv)
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
return 0;
}
}

0 comments on commit aaadeed

Please sign in to comment.