diff --git a/src/pipeline.c b/src/pipeline.c index 4604f5a..c28f667 100644 --- a/src/pipeline.c +++ b/src/pipeline.c @@ -82,7 +82,8 @@ load_entity_ids(libmegapixels_camera *camera) log_error("Could not find entity '%s'\n", cmd->entity_to); return -1; } - } else if (cmd->type == LIBMEGAPIXELS_CMD_MODE || cmd->type == LIBMEGAPIXELS_CMD_CROP) { + } else if (cmd->type == LIBMEGAPIXELS_CMD_MODE || cmd->type == LIBMEGAPIXELS_CMD_CROP || + cmd->type == LIBMEGAPIXELS_CMD_INTERVAL) { int found = 0; for (int k = 0; k < topology.num_entities; k++) { if (strncmp(entities[k].name, cmd->entity_from, strlen(cmd->entity_from)) == 0) {