summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-11-19 14:30:04 +0100
committerDamiano Galassi <[email protected]>2020-11-19 14:30:04 +0100
commit831283d472674c2b95f7aa289d1a46c304936569 (patch)
tree5b31f62b3b0a50aa864b7c97cc866dc12840ddc2 /libhb/decavcodec.c
parenta55facdbab633b57ae34f4557440888e7e5a0be2 (diff)
libhb: use av_get_pix_fmt_name to get the pixel format string.
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 50d706ec0..b59283252 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1190,7 +1190,7 @@ int reinit_video_filters(hb_work_private_t * pv)
hb_avfilter_append_dict(filters, "scale", settings);
settings = hb_dict_init();
- hb_dict_set(settings, "pix_fmts", hb_value_string(hb_get_format_name(pix_fmt)));
+ hb_dict_set(settings, "pix_fmts", hb_value_string(av_get_pix_fmt_name(pix_fmt)));
hb_avfilter_append_dict(filters, "format", settings);
}
}