使能GOP缓存

This commit is contained in:
xzl 2017-07-27 17:06:37 +08:00
parent fcfb434cf2
commit b3309e3f2d

View File

@ -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)