From 81d49a435bc67fa0be45056c743f2a5b46bad264 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期四, 14 三月 2019 20:05:20 +0800 Subject: [PATCH] 解决ffmpeg打开国标流失败导致段错误的问题 --- QiaoJiaSystem/FaceDetectServer/main_detect.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/FaceDetectServer/main_detect.cpp b/QiaoJiaSystem/FaceDetectServer/main_detect.cpp index e086792..dabd089 100644 --- a/QiaoJiaSystem/FaceDetectServer/main_detect.cpp +++ b/QiaoJiaSystem/FaceDetectServer/main_detect.cpp @@ -47,7 +47,7 @@ ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); auto ich = Ice::initialize(argc, argv); - appPref.setLongData("gpu.index", 1); + appPref.setLongData("gpu.index", 0); appPref.setLongData("thread.max", 32); IceRpcServer<FaceDetectServerI> server("faceServer", 10002, "tcp"); -- Gitblit v1.8.0