Allows user to set maximum number of buffered packets when
probing a codec. It was a hard-coded parameter before this commit.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/324/head
Andriy Gelman5 years agocommitted byMichael Niedermayer
{"protocol_blacklist","List of protocols that are not allowed to be used",OFFSET(protocol_blacklist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"protocol_blacklist","List of protocols that are not allowed to be used",OFFSET(protocol_blacklist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"max_streams","maximum number of streams",OFFSET(max_streams),AV_OPT_TYPE_INT,{.i64=1000},0,INT_MAX,D},
{"max_streams","maximum number of streams",OFFSET(max_streams),AV_OPT_TYPE_INT,{.i64=1000},0,INT_MAX,D},
{"skip_estimate_duration_from_pts","skip duration calculation in estimate_timings_from_pts",OFFSET(skip_estimate_duration_from_pts),AV_OPT_TYPE_BOOL,{.i64=0},0,1,D},
{"skip_estimate_duration_from_pts","skip duration calculation in estimate_timings_from_pts",OFFSET(skip_estimate_duration_from_pts),AV_OPT_TYPE_BOOL,{.i64=0},0,1,D},
{"max_probe_packets","Maximum number of packets to probe a codec",OFFSET(max_probe_packets),AV_OPT_TYPE_INT,{.i64=2500},0,INT_MAX,D},