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

@ -46,7 +46,7 @@ class SrsRequest;
#ifdef SRS_HLS
class SrsHls;
#endif
#ifdef SRS_FFMPEG
#ifdef SRS_TRANSCODE
class SrsEncoder;
#endif
@ -224,7 +224,7 @@ private:
SrsHls* hls;
#endif
// transcoding handler.
#ifdef SRS_FFMPEG
#ifdef SRS_TRANSCODE
SrsEncoder* encoder;
#endif
// gop cache for client fast startup.