Addressing int overflow thats causes timeshift to jump to begining of stream