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 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue