avformat/hlsenc: add option hls_init_time to set init hls window segment duration
authorSteven Liu <lingjiujianke@gmail.com>
Sat, 27 Aug 2016 11:11:14 +0000 (19:11 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 29 Aug 2016 12:54:27 +0000 (14:54 +0200)
commit557ad3a4745cbd894490fa82daf50c2a74579b11
tree5ee2e44c6f48808f10c370dbe460afea9971f0bb
parenta37e6dd2ba85a44fc283d24f3ee3bdd8abad5b9b
avformat/hlsenc: add option hls_init_time to set init hls window segment duration

recover segments duration time by hls_time after init hls window.
This is reuqested by Ibrahim Tachijian

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/hlsenc.c