diff options
author | Damiano Galassi <[email protected]> | 2020-11-19 14:30:04 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-11-19 14:30:04 +0100 |
commit | 831283d472674c2b95f7aa289d1a46c304936569 (patch) | |
tree | 5b31f62b3b0a50aa864b7c97cc866dc12840ddc2 /libhb/decavcodec.c | |
parent | a55facdbab633b57ae34f4557440888e7e5a0be2 (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.c | 2 |
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); } } |