summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-10-02 14:46:33 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-10-02 14:46:33 +0300
commit67bc5e8a9632028f9d5f44da9eafa38f0b59dfef (patch)
tree7a8b54923c19297d841f4b45bcd566ac8e4ba87c /kms++/src
parent70265487ec9a4ec3e41aeb1436973d952f621ddc (diff)
Small Property improvements
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/drmpropobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++/src/drmpropobject.cpp b/kms++/src/drmpropobject.cpp
index 74f8848..c78f70a 100644
--- a/kms++/src/drmpropobject.cpp
+++ b/kms++/src/drmpropobject.cpp
@@ -54,7 +54,7 @@ Property* DrmPropObject::get_prop(const string& name) const
return prop;
}
- throw invalid_argument(string("property ") + name + " not found");
+ return nullptr;
}
uint64_t DrmPropObject::get_prop_value(uint32_t id) const