summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-03-14 23:14:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-03-14 23:14:17 +0000
commit094147cd9c4ceb50872b84964ca54cbca4a92647 (patch)
treeb1f5a4d7664a9c68219e1b003c990a9d5924b928 /ffmpeg.c
parent52a0bbff1f63a5b93e82cf818dbb05bb1a91d438 (diff)
set global_quality
Originally committed as revision 4037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 46687f4be0..6609c9671b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;
}