summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-10-14 15:26:44 -0700
committerJohn Stebbins <[email protected]>2015-10-14 15:30:16 -0700
commit10e3deb6cf13ebbe2020a7736a231db68e6ab27a (patch)
treeac7339f7ad63238dc779e3b6899ceaf9c018d130 /libhb/common.c
parente918e48bfb3f0512dc3d246c0f233ca4bbe28918 (diff)
grayscale: make it a real filter
It only worked properly with the x264 encoder. Now it works with all encoders.
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index c03fb2807..47f1b26f9 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -3662,6 +3662,10 @@ hb_filter_object_t * hb_filter_init( int filter_id )
filter = &hb_filter_rotate;
break;
+ case HB_FILTER_GRAYSCALE:
+ filter = &hb_filter_grayscale;
+ break;
+
#ifdef USE_QSV
case HB_FILTER_QSV:
filter = &hb_filter_qsv;