diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2006-03-09 00:36:39 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-03-09 00:36:39 +0000 |
commit | 267b0e57548257687164d940ac5d7a95223275ae (patch) | |
tree | 05684e2b20946974b72ae969926bd8364ed53965 /ffserver.c | |
parent | 6c953a6af3da2d883a54fe1a33fe67cfafb0710d (diff) | |
download | ffmpeg-267b0e57548257687164d940ac5d7a95223275ae.tar.gz |
Update ffserver regression tests:
- really produce readable files (instead of 0 byte files or headers only)
- use bitexact, fastint dct, simple idct and qscale
- gives consistent results across several archs
- still fails on altivec ppc
Originally committed as revision 5129 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index 4c55558093..e31a02706c 100644 --- a/ffserver.c +++ b/ffserver.c @@ -4146,6 +4146,24 @@ static int parse_ffconfig(const char *filename) video_enc.mb_decision = FF_MB_DECISION_BITS; //FIXME remove video_enc.flags |= CODEC_FLAG_4MV; } + } else if (!strcasecmp(cmd, "BitExact")) { + if (stream) { + video_enc.flags |= CODEC_FLAG_BITEXACT; + } + } else if (!strcasecmp(cmd, "DctFastint")) { + if (stream) { + video_enc.dct_algo = FF_DCT_FASTINT; + } + } else if (!strcasecmp(cmd, "IdctSimple")) { + if (stream) { + video_enc.idct_algo = FF_IDCT_SIMPLE; + } + } else if (!strcasecmp(cmd, "Qscale")) { + get_arg(arg, sizeof(arg), &p); + if (stream) { + video_enc.flags |= CODEC_FLAG_QSCALE; + video_enc.global_quality = FF_QP2LAMBDA * atoi(arg); + } } else if (!strcasecmp(cmd, "VideoQDiff")) { get_arg(arg, sizeof(arg), &p); if (stream) { |