mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 23:17:41 +08:00
avutil/opt: Print default option value for AV_OPT_TYPE_INT64
Signed-off-by: softworkz <softworkz@hotmail.com>
This commit is contained in:
@ -1498,7 +1498,7 @@ static void log_type(void *av_log_obj, const AVOption *o,
|
||||
{
|
||||
const enum AVOptionType type = TYPE_BASE(o->type);
|
||||
|
||||
if (o->type == AV_OPT_TYPE_CONST && TYPE_BASE(parent_type) == AV_OPT_TYPE_INT)
|
||||
if (o->type == AV_OPT_TYPE_CONST && (TYPE_BASE(parent_type) == AV_OPT_TYPE_INT || TYPE_BASE(parent_type) == AV_OPT_TYPE_INT64))
|
||||
av_log(av_log_obj, AV_LOG_INFO, "%-12"PRId64" ", o->default_val.i64);
|
||||
else if (type < FF_ARRAY_ELEMS(opt_type_desc) && opt_type_desc[type].name) {
|
||||
if (o->type & AV_OPT_TYPE_FLAG_ARRAY)
|
||||
|
Reference in New Issue
Block a user