libTAS icon indicating copy to clipboard operation
libTAS copied to clipboard

Add an option to change framerate mid run

Open Matte27 opened this issue 7 years ago • 2 comments

Low priority but would be nice for meatboy all glitches

Matte27 avatar Dec 27 '17 22:12 Matte27

Most of the work done in 337fc9c6cd1248f9830a38d8174b48a7fb3ee613

Still a few things to take care of:

  • Encoding is not supported
  • If there are computations of the movie length, they are now incorrect (check movie metadata)
  • I'm resetting the sub-nanosecond accumulator (used to compute the length of a frame) when framerate has changed, is that a problem? This accumulator is used when the length of a frame cannot be represented as a integer number of nanoseconds (smallest unit of time used in Linux), but the meaning of its value depends on the value of the framerate.
  • Displayed values when loading a savestate are incorrect (they look correct after advancing one frame)
  • Check if audio mixing is holding up

clementgallet avatar May 08 '20 17:05 clementgallet

  • Fix the interaction with restart/auto_restart

clementgallet avatar May 15 '20 10:05 clementgallet