Makes behaviour of 805ce25b1d optional, re-enables
HLS key rotation feature
Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: DHE <git@dehacked.net>
{"second_level_segment_index","include segment index in segment filenames when use_localtime",0,AV_OPT_TYPE_CONST,{.i64=HLS_SECOND_LEVEL_SEGMENT_INDEX},0,UINT_MAX,E,"flags"},
{"second_level_segment_duration","include segment duration in segment filenames when use_localtime",0,AV_OPT_TYPE_CONST,{.i64=HLS_SECOND_LEVEL_SEGMENT_DURATION},0,UINT_MAX,E,"flags"},
{"second_level_segment_size","include segment size in segment filenames when use_localtime",0,AV_OPT_TYPE_CONST,{.i64=HLS_SECOND_LEVEL_SEGMENT_SIZE},0,UINT_MAX,E,"flags"},
{"periodic_rekey","reload keyinfo file periodically for re-keying",0,AV_OPT_TYPE_CONST,{.i64=HLS_PERIODIC_REKEY},0,UINT_MAX,E,"flags"},
{"use_localtime","set filename expansion with strftime at segment creation",OFFSET(use_localtime),AV_OPT_TYPE_BOOL,{.i64=0},0,1,E},
{"use_localtime_mkdir","create last directory component in strftime-generated filename",OFFSET(use_localtime_mkdir),AV_OPT_TYPE_BOOL,{.i64=0},0,1,E},
{"hls_playlist_type","set the HLS playlist type",OFFSET(pl_type),AV_OPT_TYPE_INT,{.i64=PLAYLIST_TYPE_NONE},0,PLAYLIST_TYPE_NB-1,E,"pl_type"},