diff options
author | John Stebbins <[email protected]> | 2015-10-14 15:26:44 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-10-14 15:30:16 -0700 |
commit | 10e3deb6cf13ebbe2020a7736a231db68e6ab27a (patch) | |
tree | ac7339f7ad63238dc779e3b6899ceaf9c018d130 /libhb/common.c | |
parent | e918e48bfb3f0512dc3d246c0f233ca4bbe28918 (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.c | 4 |
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; |