summaryrefslogtreecommitdiffstats
path: root/libhb/cropscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/cropscale.c')
-rw-r--r--libhb/cropscale.c2
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);
}