one encoder for noop

This commit is contained in:
Devaev Maxim
2020-12-08 11:17:38 +03:00
parent dd86e8cb42
commit b3ad29c0c7

View File

@@ -157,6 +157,11 @@ void encoder_prepare(struct encoder_t *encoder, struct device_t *dev) {
}
}
# endif
# ifdef WITH_RAWSINK
else if (type == ENCODER_TYPE_NOOP) {
ER(n_workers) = 1;
}
# endif
goto ok;