Skip to content

Commit

Permalink
examples: Fix typo in V3C example instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tampsa committed Feb 2, 2024
1 parent e790751 commit ab70083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To demonstrate V3C streaming, uvgRTP comes with example V3C sender and V3C recei
4. Place the test sequence in uvgRTP/build/examples/Release
5. Start the `v3c_receiver` program with `./v3c_receiver uvgRTP_example_sequence_longdress.vpcc`. If you have changed the filename, modify the command accordingly.
6. Start the `v3c_sender` program with `./v3c_sender uvgRTP_example_sequence_longdress.vpcc`. The program will parse the test sequence for transmission and send it to the receiver.
7. The with `v3c_receiver` will print information on the reception and reconstruction of the V3C bitstream.
7. The `v3c_receiver` will print information on the reception and reconstruction of the V3C bitstream. It will also check the received sequence for any differences to the original one.

## RTCP example

Expand Down
3 changes: 2 additions & 1 deletion examples/v3c_receiver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int main(int argc, char* argv[])
if (len == 0) {
return EXIT_FAILURE;
}
std::cout << "Reading original file for comparison " << len << std::endl;
std::cout << "Reading original file for comparison " << std::endl;
char* original_buf = nullptr;
original_buf = get_cmem(PATH);

Expand All @@ -161,6 +161,7 @@ int main(int argc, char* argv[])
for (auto i = 0; i < bytes; ++i) {
if (original_buf[i] != out_buf[i]) {
diff = true;
std::cout << "Difference found in " << i << std::endl;
break;
}
}
Expand Down

0 comments on commit ab70083

Please sign in to comment.