diff options
author | Mattias Andrée <maandree@kth.se> | 2016-12-18 19:48:56 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-12-18 19:48:56 +0100 |
commit | 0270fcba233754779cbf8c11d2ff22d8ecded556 (patch) | |
tree | bf349f9c08ab736116d609b0cb43d92e2c8d360e /src/cg-base.c | |
parent | cg-base: Add NO_DEFAULT_PRIORITY (diff) | |
download | cg-tools-0270fcba233754779cbf8c11d2ff22d8ecded556.tar.gz cg-tools-0270fcba233754779cbf8c11d2ff22d8ecded556.tar.bz2 cg-tools-0270fcba233754779cbf8c11d2ff22d8ecded556.tar.xz |
cg-base: add filters_n
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | src/cg-base.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cg-base.c b/src/cg-base.c index 2de0abc..c0abf47 100644 --- a/src/cg-base.c +++ b/src/cg-base.c @@ -61,6 +61,11 @@ libcoopgamma_crtc_info_t* crtc_info = NULL; */ size_t crtcs_n = 0; +/** + * The number of filters + */ +size_t filters_n = 0; + /** * Contexts for asynchronous ramp updates @@ -724,6 +729,7 @@ int main(int argc, char* argv[]) dealloc_crtcs = 1; for (; crtcs[crtcs_n] != NULL; crtcs_n++); } + filters_n = crtcs_n; if (crtcs_n == 0) { |