1
0
Fork 0
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:
winlin 2014-04-06 20:30:51 +08:00
parent 5ff1d589f7
commit 983fe46ce2
8 changed files with 37 additions and 15 deletions

View file

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