diff --git a/gst-plugin-smartvencbin/CMakeLists.txt b/gst-plugin-smartvencbin/CMakeLists.txt index 612f2ec3..46469a9a 100644 --- a/gst-plugin-smartvencbin/CMakeLists.txt +++ b/gst-plugin-smartvencbin/CMakeLists.txt @@ -17,7 +17,7 @@ pkg_check_modules(GST REQUIRED gstreamer-1.0>=${GST_VERSION_REQUIRED}) pkg_check_modules(GST_ALLOC REQUIRED gstreamer-allocators-1.0>=${GST_VERSION_REQUIRED}) pkg_check_modules(GST_VIDEO REQUIRED gstreamer-video-1.0>=${GST_VERSION_REQUIRED}) pkg_check_modules(GST_PBUTILS REQUIRED gstreamer-pbutils-1.0>=${GST_VERSION_REQUIRED}) -pkg_check_modules(QCOM_VIDEO_CTRL REQUIRED qimsdk-smartvenc) +pkg_check_modules(QCOM_VIDEO_CTRL REQUIRED qcom-video-ctrl) pkg_check_modules(GST_QCOM_VIDEO REQUIRED gstreamer-qcom-oss-video-1.0>=1.0.0) # Generate configuration header file with plugin describing definitions diff --git a/gst-plugin-smartvencbin/smart-codec-engine.cc b/gst-plugin-smartvencbin/smart-codec-engine.cc index 22bb8336..8fbd03ff 100644 --- a/gst-plugin-smartvencbin/smart-codec-engine.cc +++ b/gst-plugin-smartvencbin/smart-codec-engine.cc @@ -9,7 +9,7 @@ #include #include -#include +#include struct _SmartCodecEngine { std::mutex engine_lock; @@ -45,7 +45,7 @@ gst_smartcodec_engine_new () SmartCodecEngine *engine = NULL; ::videoctrl::NewIEngine NewVideoCtrlEngine; - std::string libname = "libqimsdk-smartvenc.so." + std::string(VIDEO_CTRL_VERSION_MAJOR); + std::string libname = "libVideoCtrl.so." + std::string(VIDEO_CTRL_VERSION_MAJOR); engine = g_new0 (SmartCodecEngine, 1); g_return_val_if_fail (engine != NULL, NULL);