livehttp: don't remove previous playlist on open if segment-number is given
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 4 Dec 2014 14:45:36 +0000 (16:45 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 5 Dec 2014 09:49:42 +0000 (11:49 +0200)
commitedeb3ffabbc1ec9c957206158834269afa21fafb
tree0125be9170e90fec5fe5180eb34f8c8a8705d71a
parent85917d0522c1bc3b3ce292faf66f71e8ee8d5a80
livehttp: don't remove previous playlist on open if segment-number is given

If we provide initial segment-number, most likely we want to continue
where we have left of, so leave old playlist-file there and just
overwrite it when we updated it.

default initial-segment-number is 1 so don't test against 0
modules/access_output/livehttp.c