From 831283d472674c2b95f7aa289d1a46c304936569 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Thu, 19 Nov 2020 14:30:04 +0100 Subject: libhb: use av_get_pix_fmt_name to get the pixel format string. --- libhb/cropscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/cropscale.c') 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); } -- cgit v1.2.3