refactor SetSubDelay function and move obtaining vobsub filter code to separate function