VideoProperty: rename type() to getType().

This commit is contained in:
Peter Johnson
2016-11-15 22:20:56 -08:00
parent 3381340eb5
commit 3c7d8063f6
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ int main() {
llvm::outs() << "Properties:\n";
for (const auto& prop : camera.EnumerateProperties()) {
llvm::outs() << " " << prop.GetName() << ": ";
switch (prop.type()) {
switch (prop.GetType()) {
case cs::VideoProperty::kBoolean:
llvm::outs() << "value=" << prop.Get()
<< " default=" << prop.GetDefault();