Commit 4b1099f4 authored by michael's avatar michael

set global_quality


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4037 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ef2a93e2
...@@ -3130,6 +3130,7 @@ static void opt_output_file(const char *filename) ...@@ -3130,6 +3130,7 @@ static void opt_output_file(const char *filename)
video_enc->gop_size = 0; video_enc->gop_size = 0;
if (video_qscale || same_quality) { if (video_qscale || same_quality) {
video_enc->flags |= CODEC_FLAG_QSCALE; video_enc->flags |= CODEC_FLAG_QSCALE;
video_enc->global_quality=
st->quality = FF_QP2LAMBDA * video_qscale; st->quality = FF_QP2LAMBDA * video_qscale;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment