mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
qscale + qprd fix
Originally committed as revision 3192 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7ae93e6aea
commit
a1e07d39be
@ -3497,7 +3497,8 @@ static void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
|
||||
}
|
||||
}
|
||||
ff_set_qscale(s, last_qp + s->dquant);
|
||||
}
|
||||
}else if(s->flags&CODEC_FLAG_QP_RD)
|
||||
ff_set_qscale(s, s->qscale + s->dquant);
|
||||
|
||||
wrap_y = s->linesize;
|
||||
wrap_c = s->uvlinesize;
|
||||
|
Loading…
Reference in New Issue
Block a user