summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
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.h
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.h')
-rw-r--r--libhb/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 4f39c8944..bac165a4f 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -1185,6 +1185,7 @@ typedef struct hb_filter_init_s
int crop[4];
hb_rational_t vrate;
int cfr;
+ int grayscale;
} hb_filter_init_t;
typedef struct hb_filter_info_s
@@ -1252,6 +1253,7 @@ enum
// Finally filters that don't care what order they are in,
// except that they must be after the above filters
HB_FILTER_ROTATE,
+ HB_FILTER_GRAYSCALE,
// for QSV - important to have as a last one
HB_FILTER_QSV_POST,