mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
H265: Support parse multiple NALUs in a frame. v6.0.3 (#3274)
1. Fix parsing multiple NALUs bug. 2. Eliminate duplicated code for parsing NALU. 3. Return error when HEVC not enabled.
This commit is contained in:
parent
02d47c5c21
commit
f316e9a0de
6 changed files with 61 additions and 81 deletions
|
@ -31,7 +31,7 @@ IF (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||
WORKING_DIRECTORY ${SRS_DIR} RESULT_VARIABLE ret)
|
||||
ELSE ()
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ./configure --srt=on --gb28181=on --utest=on --jobs=${JOBS}
|
||||
COMMAND ./configure --srt=on --gb28181=on --h265=on --utest=on --jobs=${JOBS}
|
||||
WORKING_DIRECTORY ${SRS_DIR} RESULT_VARIABLE ret)
|
||||
ENDIF ()
|
||||
if(NOT ret EQUAL 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue