aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/V4L2DecodeComponent.cpp2
-rw-r--r--components/V4L2EncodeComponent.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/V4L2DecodeComponent.cpp b/components/V4L2DecodeComponent.cpp
index 400c765..77a5efa 100644
--- a/components/V4L2DecodeComponent.cpp
+++ b/components/V4L2DecodeComponent.cpp
@@ -124,7 +124,7 @@ std::shared_ptr<C2Component> V4L2DecodeComponent::create(
const std::string& name, c2_node_id_t id, const std::shared_ptr<C2ReflectorHelper>& helper,
C2ComponentFactory::ComponentDeleter deleter) {
static const int32_t kMaxConcurrentInstances =
- property_get_int32("debug.v4l2_codec2.decode.concurrent-instances", -1);
+ property_get_int32("ro.vendor.v4l2_codec2.decode_concurrent_instances", -1);
static std::mutex mutex;
std::lock_guard<std::mutex> lock(mutex);
diff --git a/components/V4L2EncodeComponent.cpp b/components/V4L2EncodeComponent.cpp
index b4bbc0e..459ac85 100644
--- a/components/V4L2EncodeComponent.cpp
+++ b/components/V4L2EncodeComponent.cpp
@@ -198,7 +198,7 @@ std::shared_ptr<C2Component> V4L2EncodeComponent::create(
ALOGV("%s(%s)", __func__, name.c_str());
static const int32_t kMaxConcurrentInstances =
- property_get_int32("debug.v4l2_codec2.encode.concurrent-instances", -1);
+ property_get_int32("ro.vendor.v4l2_codec2.encode_concurrent_instances", -1);
static std::mutex mutex;
std::lock_guard<std::mutex> lock(mutex);