summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-11-19 14:31:27 +0100
committerDamiano Galassi <[email protected]>2020-11-19 14:31:27 +0100
commit832b76f9b7715a446f14f20bd6ed310839b385f7 (patch)
tree6c9f670cd0c2633654927e9ef1c334df041ca2a3 /libhb
parent831283d472674c2b95f7aa289d1a46c304936569 (diff)
libhb: fix colorspace filter settings validation and actually combbine it with the others avfilters.
Diffstat (limited to 'libhb')
-rw-r--r--libhb/hbavfilter.c1
-rw-r--r--libhb/param.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libhb/hbavfilter.c b/libhb/hbavfilter.c
index f78fcaf95..9fa30f566 100644
--- a/libhb/hbavfilter.c
+++ b/libhb/hbavfilter.c
@@ -350,6 +350,7 @@ void hb_avfilter_combine( hb_list_t * list)
case HB_FILTER_CROP_SCALE:
case HB_FILTER_PAD:
case HB_FILTER_ROTATE:
+ case HB_FILTER_COLORSPACE:
{
settings = pv->avfilters;
} break;
diff --git a/libhb/param.c b/libhb/param.c
index 2655c7715..cf86e034d 100644
--- a/libhb/param.c
+++ b/libhb/param.c
@@ -1239,6 +1239,7 @@ hb_generate_filter_settings(int filter_id, const char *preset, const char *tune,
case HB_FILTER_RENDER_SUB:
case HB_FILTER_GRAYSCALE:
case HB_FILTER_QSV:
+ case HB_FILTER_COLORSPACE:
settings = hb_parse_filter_settings(custom);
break;
case HB_FILTER_NLMEANS: