tsfix: Fix the decision boundary for ts_diff, handle reference for text subtitles, too
timeshift: move the pts_delta init code to a function