Cleanup TS SRT output code

This commit is contained in:
Thulinma 2020-09-19 21:34:15 +02:00
parent 1ec18d83b8
commit 840a1f5f4e
5 changed files with 154 additions and 156 deletions

View file

@ -505,8 +505,8 @@ macro(makeOutput outputName format)
SET(tsBaseClass HTTPOutput)
endif()
endif()
if (";${ARGN};" MATCHES ";with_srt;")
SET(outBaseFile src/output/mist_out_srt.cpp)
if (";${ARGN};" MATCHES ";debased;")
SET(outBaseFile "")
endif()
if (";${ARGN};" MATCHES ";ts;")
SET(tsOutput src/output/output_ts_base.cpp)
@ -555,7 +555,7 @@ if (WITH_JPG)
endif()
makeOutput(TS ts ts)
if(SRT_LIB)
makeOutput(TSSRT tssrt ts with_srt)
makeOutput(TSSRT tssrt ts debased with_srt)
endif()
makeOutput(HTTPTS httpts http ts)
makeOutput(HLS hls http ts)