summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-31 10:03:29 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-31 10:03:29 +0300
commitb3348d9cd99b9ed694093ebae5966a7919585604 (patch)
tree8c39cf4323fa502ae0c9d675481d1d86caabdf34
parent3ab78a6f8f3a78d7ed860a55953ed36c6d714afa (diff)
testpat: print FB IDs
-rw-r--r--utils/testpat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/testpat.cpp b/utils/testpat.cpp
index d12e209..31029ad 100644
--- a/utils/testpat.cpp
+++ b/utils/testpat.cpp
@@ -575,7 +575,7 @@ static void print_outputs(const vector<OutputInfo>& outputs)
videomode_to_string(o.mode).c_str());
if (!o.fbs.empty()) {
auto fb = o.fbs[0];
- printf(" Fb %ux%u-%s\n", fb->width(), fb->height(),
+ printf(" Fb %u %ux%u-%s\n", fb->id(), fb->width(), fb->height(),
PixelFormatToFourCC(fb->format()).c_str());
}
@@ -584,7 +584,7 @@ static void print_outputs(const vector<OutputInfo>& outputs)
auto fb = p.fbs[0];
printf(" Plane %u/@%u: %u,%u-%ux%u\n", p.plane->id(), p.plane->idx(),
p.x, p.y, p.w, p.h);
- printf(" Fb %ux%u-%s\n", fb->width(), fb->height(),
+ printf(" Fb %u %ux%u-%s\n", fb->id(), fb->width(), fb->height(),
PixelFormatToFourCC(fb->format()).c_str());
}
}