set constant QP from AVCodecContext.global_quality.