fixes buffer timestampoffset calculation for on-demand videos