Correct segment durations in m3u8 playlist.

from https://github.com/johnf/m3u8-segmenter/pull/10
and some error corrected