From 094147cd9c4ceb50872b84964ca54cbca4a92647 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 14 Mar 2005 23:14:17 +0000 Subject: [PATCH] set global_quality Originally committed as revision 4037 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) 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; }