mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 11:17:09 +08:00
使能GOP缓存
This commit is contained in:
parent
fcfb434cf2
commit
b3309e3f2d
@ -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" )
|
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})
|
foreach(SUB_DIR ${SUB_DIR_LIST})
|
||||||
#遍历源文件
|
#遍历源文件
|
||||||
aux_source_directory(src/${SUB_DIR} SRC_LIST)
|
aux_source_directory(src/${SUB_DIR} SRC_LIST)
|
||||||
|
Loading…
Reference in New Issue
Block a user