diff options
author | Damiano Galassi <[email protected]> | 2020-11-18 15:12:35 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-11-18 20:42:03 +0100 |
commit | a55facdbab633b57ae34f4557440888e7e5a0be2 (patch) | |
tree | aa4ae57a32a6428701943f910457e5a60588d5db /libhb/cropscale.c | |
parent | e6666d60eeabb7cc779a062293a3d10e2cd870ee (diff) |
libhb: add 8bit to 10/12bit blend functions to rendersub.
decode video to 10bit or 12bit yuv if there is no 8bit filter in the chain.
Diffstat (limited to 'libhb/cropscale.c')
-rw-r--r-- | libhb/cropscale.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libhb/cropscale.c b/libhb/cropscale.c index 4006a271c..34721a18e 100644 --- a/libhb/cropscale.c +++ b/libhb/cropscale.c @@ -172,9 +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 { - // TODO: Support other pix formats - // Force output to YUV420P for until other formats are supported - hb_dict_set(avsettings, "pix_fmts", hb_value_string("yuv420p")); + hb_dict_set(avsettings, "pix_fmts", hb_value_string(hb_get_format_name(init->pix_fmt))); hb_dict_set(avfilter, "format", avsettings); hb_value_array_append(avfilters, avfilter); } |