From 17ae0cd78c16f55d38dc3f9ad6b27688f445aee3 Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期三, 03 四月 2019 09:57:19 +0800 Subject: [PATCH] Merge branch 'yangwu1.3' into 1.3nsq --- QiaoJiaSystem/VideoToImageMulth/pushStream/PushStreamAppPipeController.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/QiaoJiaSystem/VideoToImageMulth/pushStream/PushStreamAppPipeController.cpp b/QiaoJiaSystem/VideoToImageMulth/pushStream/PushStreamAppPipeController.cpp index 553a451..2bf9968 100644 --- a/QiaoJiaSystem/VideoToImageMulth/pushStream/PushStreamAppPipeController.cpp +++ b/QiaoJiaSystem/VideoToImageMulth/pushStream/PushStreamAppPipeController.cpp @@ -13,12 +13,12 @@ videoPublishElement(nullptr) { string path = appConfig.getStringProperty("srsAddr") + "cam" + chanPubID + ".flv"; - cv::Size size_(appPref.getIntData("pulish.width"), appPref.getIntData("pulish.height")); - int gupIdx = appPref.getLongData("gpu.index"); + cv::Size size_(appConfig.getIntProperty("pulish.width"), appConfig.getIntProperty("pulish.height")); + int gupIdx = appPref.getIntData("gpu.index"); videoPublishElement = new ffmpeg::VideoPublishElement(path, size_, "flv", 25, gupIdx); - if (appPref.getIntData("pulish.width") < 0 || appPref.getIntData("pulish.height") < 0) { - ERR("pulish.width: " << appPref.getIntData("pulish.width") << " Height: " - << appPref.getIntData("pulish.height")); + if (appConfig.getIntProperty("pulish.width") < 0 || appConfig.getIntProperty("pulish.height") < 0) { + ERR("pulish.width: " << appConfig.getIntProperty("pulish.width") << " Height: " + << appConfig.getIntProperty("pulish.height")); } videoCaptureElement.registerConnector([&] { //if(!videoPublishElement.isBusy()){ -- Gitblit v1.8.0