Browse Source

Remove debug prints

Martijn Braam 11 months ago
parent
commit
11f0f1d9b9
1 changed files with 0 additions and 15 deletions
  1. 0 15
      src/pipeline.c

+ 0 - 15
src/pipeline.c

@@ -97,20 +97,6 @@ load_entity_ids(libmegapixels_camera *camera)
 	}
 
 	for (int i = 0; i < topology.num_links; i++) {
-		log_error("Link %d flags", i);
-		if (links[i].flags & MEDIA_LNK_FL_ENABLED) {
-			fprintf(stderr, " [enabled]");
-		}
-		if (links[i].flags & MEDIA_LNK_FL_IMMUTABLE) {
-			fprintf(stderr, " [immutable]");
-		}
-		if (links[i].flags & MEDIA_LNK_FL_DYNAMIC) {
-			fprintf(stderr, " [dynamic]");
-		}
-		if (links[i].flags & MEDIA_LNK_FL_INTERFACE_LINK) {
-			fprintf(stderr, " [interface-link]");
-		}
-		fprintf(stderr, "\n");
 		if (links[i].flags & MEDIA_LNK_FL_ENABLED && !(links[i].flags & MEDIA_LNK_FL_IMMUTABLE)) {
 			uint32_t source_entity, sink_entity;
 			for (int j = 0; j < topology.num_pads; j++) {
@@ -199,7 +185,6 @@ libmegapixels_select_mode(libmegapixels_camera *camera, libmegapixels_mode *mode
 	for (int i = 0; i < mode->num_cmds; i++) {
 		libmegapixels_cmd *cmd = mode->cmds[i];
 		struct v4l2_subdev_format subdev_fmt = {};
-		fprintf(stderr, "Do %d\n", cmd->type);
 		switch (cmd->type) {
 			case LIBMEGAPIXELS_CMD_LINK:
 				if (setup_link(camera, cmd->entity_from_id, cmd->entity_to_id, 1) != 0) {