Because the hls_ts_options will be misunderstand by user that only can
be used in mpegts segments option. So add this option for segments.
Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
{"hls_allow_cache","explicitly set whether the client MAY (1) or MUST NOT (0) cache media segments",OFFSET(allowcache),AV_OPT_TYPE_INT,{.i64=-1},INT_MIN,INT_MAX,E},
{"hls_allow_cache","explicitly set whether the client MAY (1) or MUST NOT (0) cache media segments",OFFSET(allowcache),AV_OPT_TYPE_INT,{.i64=-1},INT_MIN,INT_MAX,E},
{"hls_base_url","url to prepend to each playlist entry",OFFSET(baseurl),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},
{"hls_base_url","url to prepend to each playlist entry",OFFSET(baseurl),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},
{"hls_segment_filename","filename template for segment files",OFFSET(segment_filename),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},
{"hls_segment_filename","filename template for segment files",OFFSET(segment_filename),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},
{"hls_segment_options","set segments files format options of hls",OFFSET(format_options),AV_OPT_TYPE_DICT,{.str=NULL},0,0,E},
{"hls_segment_size","maximum size per segment file, (in bytes)",OFFSET(max_seg_size),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,E},
{"hls_segment_size","maximum size per segment file, (in bytes)",OFFSET(max_seg_size),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,E},
{"hls_key_info_file","file with key URI and key file path",OFFSET(key_info_file),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},
{"hls_key_info_file","file with key URI and key file path",OFFSET(key_info_file),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},