summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f667cc)
raw | patch | inline | side by side (parent: 7f667cc)
author | Jyri Sarha <jsarha@ti.com> | |
Thu, 1 Oct 2015 09:27:12 +0000 (12:27 +0300) | ||
committer | Jyri Sarha <jsarha@ti.com> | |
Thu, 1 Oct 2015 09:58:50 +0000 (12:58 +0300) |
libkms++/plane.cpp | patch | blob | history |
diff --git a/libkms++/plane.cpp b/libkms++/plane.cpp
index afb9c780edcc79ee8e505dc894c7e24163e4b604..b9884e2db70415c99d484f968c3acc3989e6502a 100644 (file)
--- a/libkms++/plane.cpp
+++ b/libkms++/plane.cpp
PlaneType Plane::plane_type() const
{
- return (PlaneType)get_prop_value("type");
+ if (card().has_has_universal_planes())
+ return (PlaneType)get_prop_value("type");
+ else
+ return PlaneType::Overlay;
}
}