Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Jan 1, 2025
1 parent 8f5129f commit a7e4b38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cscore/src/main/native/cpp/MjpegServerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ void MjpegServerImpl::ConnThread::SendStream(wpi::raw_socket_ostream& os) {
lastFrameTime = thisFrameTime;
double timestamp = lastFrameTime / 1000000.0;
header.clear();
oss << "\r\n--" BOUNDARY "\r\n" << "Content-Type: image/jpeg\r\n";
oss << "\r\n--" BOUNDARY "\r\nContent-Type: image/jpeg\r\n";
wpi::print(oss, "Content-Length: {}\r\n", size);
wpi::print(oss, "X-Timestamp: {}\r\n", timestamp);
oss << "\r\n";
Expand Down
4 changes: 2 additions & 2 deletions cscore/src/main/native/cpp/cscore_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ CS_Property GetSinkProperty(CS_Sink sink, std::string_view name,
return Handle{sink, property, Handle::kSinkProperty};
}

std::vector<CS_Property> EnumerateSinkProperties(
CS_Sink sink, CS_Status* status) {
std::vector<CS_Property> EnumerateSinkProperties(CS_Sink sink,
CS_Status* status) {
auto data = Instance::GetInstance().GetSink(sink);
if (!data) {
*status = CS_INVALID_HANDLE;
Expand Down

0 comments on commit a7e4b38

Please sign in to comment.