From b3309e3f2db845076ce53602fbcd46600eb5ca4f Mon Sep 17 00:00:00 2001 From: xzl <771730766@qq.com> Date: Thu, 27 Jul 2017 17:06:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E8=83=BDGOP=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e407b7f..5b67c074 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,9 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) #设置子目录 set(SUB_DIR_LIST "Codec" "Common" "Device" "H264" "Http" "MediaFile" "Player" "Rtmp" "RTP" "Rtsp" "Shell" ) +#使能GOP缓存 +add_definitions(-DENABLE_RING_USEBUF) + foreach(SUB_DIR ${SUB_DIR_LIST}) #遍历源文件 aux_source_directory(src/${SUB_DIR} SRC_LIST)