You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occurred on Linux 5.15.7-xanmod1-tt-1 using xorg and i3wm
Steps to reproduce
Start a video capture using the following command: escrotum -r '~/img/screenshots/%Y-%m-%d_%H-%M-%S.webm' -e 'echo $f'
Wait 5 seconds and then end the video capture using Ctrl-Alt-s
Notice that the echo'd video filename will have the seconds field be 5 seconds later than that of the actual saved file.
Possible cause
It seems as though the filename's substitutions are getting expanded once at the beginning of capture, and then expanded a second time when the command executes, which means that the strftime(2) evaluation will be different each time. By capturing the strftime once at the beginning of program execution we can ensure that this discrepancy will not exist.
The text was updated successfully, but these errors were encountered:
Occurred on Linux 5.15.7-xanmod1-tt-1 using xorg and i3wm
Steps to reproduce
escrotum -r '~/img/screenshots/%Y-%m-%d_%H-%M-%S.webm' -e 'echo $f'
Ctrl-Alt-s
Possible cause
It seems as though the filename's substitutions are getting expanded once at the beginning of capture, and then expanded a second time when the command executes, which means that the
strftime(2)
evaluation will be different each time. By capturing the strftime once at the beginning of program execution we can ensure that this discrepancy will not exist.The text was updated successfully, but these errors were encountered: