avformat/hlsenc: add warning for append_list and hls_init_time option
authorSteven Liu <lingjiujianke@gmail.com>
Tue, 30 Aug 2016 09:26:54 +0000 (17:26 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Aug 2016 00:48:39 +0000 (02:48 +0200)
commit3aab6fa6baf8f5511a9dec5996a303e25716f185
treee71fdeb78ae18d909689d03b36becccf6998a96a
parent9fbf0660c170ff0757d2dfa2025d7287e79a8917
avformat/hlsenc: add warning for append_list and hls_init_time option

When use append_list mode, the hls_init_time set nouse,
Because the append_list only support append at the old m3u8 end
cannot set init segments durations at the middle of the list.
That's invalid. and show a warning message for user.

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