diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-05 01:08:56 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-05 01:08:56 +0100 |
commit | aac9b9cde7540045507d3877f5a58c6253967ee2 (patch) | |
tree | f37f227a9ce27773d06bd687c4c54692ed8122d6 /scripts/replay-application-name.sh | |
parent | 258f690a897a889a5d146a907078e2fb82a9eb1e (diff) |
Fix incorrect bitrate calculation for constant bitrate
Diffstat (limited to 'scripts/replay-application-name.sh')
-rwxr-xr-x | scripts/replay-application-name.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/replay-application-name.sh b/scripts/replay-application-name.sh index 9f363f7..2a651bb 100755 --- a/scripts/replay-application-name.sh +++ b/scripts/replay-application-name.sh @@ -1,6 +1,6 @@ #!/bin/sh window=$(xdotool selectwindow) -window_name=$(xdotool getwindowclassname "$window" || xdotool getwindowname "$window" || echo "Game") +window_name=$(xdotool getwindowname "$window" || xdotool getwindowclassname "$window" || echo "Game") window_name="$(echo "$window_name" | tr '/\\' '_')" gpu-screen-recorder -w "$window" -f 60 -c mkv -a default_output -r 60 -o "$HOME/Videos/Replays/$window_name" |