summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/media.c b/media.c
index 1bc39e1..f384026 100644
--- a/media.c
+++ b/media.c
@@ -269,7 +269,10 @@ static void media_print_topology_dot(struct media_device *media)
npads++;
}
- printf("} | %s | {", entity->info.name);
+ printf("} | %s", entity->info.name);
+ if (entity->devname)
+ printf("\\n%s", entity->devname);
+ printf(" | {");
for (j = 0, npads = 0; j < entity->info.pads; ++j) {
if (entity->pads[j].type != MEDIA_PAD_TYPE_OUTPUT)