mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use --with-ffmpeg to compile FFMPEG tool only, use --with-transcode for transcoding
This commit is contained in:
parent
5ff1d589f7
commit
983fe46ce2
8 changed files with 37 additions and 15 deletions
|
@ -510,6 +510,12 @@ else
|
|||
echo "#undef SRS_FFMPEG" >> $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
|
||||
if [ $SRS_TRANSCODE = YES ]; then
|
||||
echo "#define SRS_TRANSCODE" >> $SRS_AUTO_HEADERS_H
|
||||
else
|
||||
echo "#undef SRS_TRANSCODE" >> $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
|
||||
#####################################################################################
|
||||
# build research code
|
||||
#####################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue