Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Oct 22, 2024
1 parent 10fb3be commit 9996dc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cscore/src/main/native/cpp/HttpCameraImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ bool HttpCameraImpl::SetVideoMode(const VideoMode& mode, CS_Status* status) {
m_mode = mode;
m_streamSettings.clear();
if (mode.width != 0 && mode.height != 0) {
m_streamSettings["resolution"] = fmt::format("{}x{}", mode.width, mode.height);
m_streamSettings["resolution"] =
fmt::format("{}x{}", mode.width, mode.height);
}
if (mode.fps != 0) {
m_streamSettings["fps"] = fmt::format("{}", mode.fps);
Expand Down

0 comments on commit 9996dc7

Please sign in to comment.