diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-03-14 23:14:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-14 23:14:17 +0000 |
commit | 094147cd9c4ceb50872b84964ca54cbca4a92647 (patch) | |
tree | b1f5a4d7664a9c68219e1b003c990a9d5924b928 /ffmpeg.c | |
parent | 52a0bbff1f63a5b93e82cf818dbb05bb1a91d438 (diff) | |
download | ffmpeg-094147cd9c4ceb50872b84964ca54cbca4a92647.tar.gz |
set global_quality
Originally committed as revision 4037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3130,6 +3130,7 @@ static void opt_output_file(const char *filename) video_enc->gop_size = 0; if (video_qscale || same_quality) { video_enc->flags |= CODEC_FLAG_QSCALE; + video_enc->global_quality= st->quality = FF_QP2LAMBDA * video_qscale; } |