We use last_ts to decide what buffer to mux next so make sure that it always contains the last known valid timestamp.