mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
set global_quality
Originally committed as revision 4037 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
52a0bbff1f
commit
094147cd9c
1
ffmpeg.c
1
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user