Skip to content

Commit

Permalink
Clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfryd committed Mar 2, 2024
1 parent 4fb5d71 commit 3454c8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ see all supported options.
- J: Reduce playback speed
- L: Increase playback speed
- S: Swap left and right video
- A: Previous frame
- D: Next frame
- A: Move to the previous frame in the buffer
- D: Move to the next frame in the buffer
- F: Save both frames as PNG images in the current directory
- P: Print mouse position and pixel value under cursor to console
- Z: Magnify area around cursor (result shown in lower left corner)
Expand All @@ -167,7 +167,7 @@ Left-click the mouse to perform a time seek based on the horizontal position of
mouse cursor relative to the window width (the target position is shown in the lower
right corner).

Hold the SHIFT key while pressing `D` to fetch and navigate to the next frame.
Hold the SHIFT key while pressing `D` to decode and move to the next frame.

Hold CTRL while time-shifting with `+`/`-` for faster increments/decrements of 10 frames per
keystroke. Similarly, hold down the ALT key for even bigger time-shifts of 100 frames.
Expand Down
6 changes: 3 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ void print_controls() {
{"J", "Reduce playback speed"},
{"L", "Increase playback speed"},
{"S", "Swap left and right video"},
{"A", "Previous frame"},
{"D", "Next frame"},
{"A", "Move to the previous frame in the buffer"},
{"D", "Move to the next frame in the buffer"},
{"F", "Save both frames as PNG images in the current directory"},
{"P", "Print mouse position and pixel value under cursor to console"},
{"Z", "Magnify area around cursor (result shown in lower left corner)"},
Expand Down Expand Up @@ -96,7 +96,7 @@ void print_controls() {
std::cout << "of the mouse cursor relative to the window width (the target position is" << std::endl;
std::cout << "shown in the lower right corner)." << std::endl << std::endl;

std::cout << "Hold the SHIFT key while pressing D to fetch and navigate to the next frame." << std::endl << std::endl;
std::cout << "Hold the SHIFT key while pressing D to decode and move to the next frame." << std::endl << std::endl;

std::cout << "Hold CTRL while time-shifting with +/- for faster increments/decrements" << std::endl;
std::cout << "of 10 frames per keystroke. Similarly, hold down the ALT key for even" << std::endl;
Expand Down

0 comments on commit 3454c8e

Please sign in to comment.