diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-23 15:07:49 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-23 15:07:49 +0200 |
commit | 01f19ae9d2d490e5a03eefc05060aaf6186d9a37 (patch) | |
tree | 932557305c2ca3f03f4ccce81fe3df3b8dbaeb41 /extra/gpu-screen-recorder.service | |
parent | 076aa600bab410667456ad04b32ee8a212fb1ad9 (diff) |
Rename argument -mf to -df (keep -mf for backwards compatibility)
Diffstat (limited to 'extra/gpu-screen-recorder.service')
-rw-r--r-- | extra/gpu-screen-recorder.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/gpu-screen-recorder.service b/extra/gpu-screen-recorder.service index d4d9f3b..aa1d702 100644 --- a/extra/gpu-screen-recorder.service +++ b/extra/gpu-screen-recorder.service @@ -18,7 +18,7 @@ Environment=COLOR_RANGE=limited Environment=KEYINT=2 Environment=ENCODER=gpu Environment=RESTORE_PORTAL_SESSION=yes -ExecStart=/bin/sh -c 'AUDIO="${AUDIO_DEVICE:-$(pactl get-default-sink).monitor}"; gpu-screen-recorder -v no -w "$WINDOW" -c "$CONTAINER" -q "$QUALITY" -k "$CODEC" -ac "$AUDIO_CODEC" -a "$AUDIO" -a "$SECONDARY_AUDIO_DEVICE" -f "$FRAMERATE" -r "$REPLAYDURATION" -o "$OUTPUTDIR" -mf "$MAKEFOLDERS" $ADDITIONAL_ARGS -cr "$COLOR_RANGE" -keyint "$KEYINT" -restore-portal-session "$RESTORE_PORTAL_SESSION" -encoder "$ENCODER"' +ExecStart=/bin/sh -c 'AUDIO="${AUDIO_DEVICE:-$(pactl get-default-sink).monitor}"; gpu-screen-recorder -v no -w "$WINDOW" -c "$CONTAINER" -q "$QUALITY" -k "$CODEC" -ac "$AUDIO_CODEC" -a "$AUDIO" -a "$SECONDARY_AUDIO_DEVICE" -f "$FRAMERATE" -r "$REPLAYDURATION" -o "$OUTPUTDIR" -df "$MAKEFOLDERS" $ADDITIONAL_ARGS -cr "$COLOR_RANGE" -keyint "$KEYINT" -restore-portal-session "$RESTORE_PORTAL_SESSION" -encoder "$ENCODER"' KillSignal=SIGINT Restart=on-failure RestartSec=5s |