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/cropscale.c | |
parent | a55facdbab633b57ae34f4557440888e7e5a0be2 (diff) |
libhb: use av_get_pix_fmt_name to get the pixel format string.
Diffstat (limited to 'libhb/cropscale.c')
-rw-r--r-- | libhb/cropscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/cropscale.c b/libhb/cropscale.c index 34721a18e..8a435c6db 100644 --- a/libhb/cropscale.c +++ b/libhb/cropscale.c @@ -172,7 +172,7 @@ static int crop_scale_init(hb_filter_object_t * filter, hb_filter_init_t * init) if (!hb_qsv_hw_filters_are_enabled(init->job)) #endif { - hb_dict_set(avsettings, "pix_fmts", hb_value_string(hb_get_format_name(init->pix_fmt))); + hb_dict_set(avsettings, "pix_fmts", hb_value_string(av_get_pix_fmt_name(init->pix_fmt))); hb_dict_set(avfilter, "format", avsettings); hb_value_array_append(avfilters, avfilter); } |