decoder context: rate_control unset to GST_VAAPI_RATECONTROL_NONE
authorWind Yuan <feng.yuan@intel.com>
Mon, 12 Nov 2012 09:04:07 +0000 (17:04 +0800)
committerZhong Cong <congx.zhong@intel.com>
Tue, 5 Feb 2013 07:37:12 +0000 (15:37 +0800)
gst-libs/gst/vaapi/gstvaapidecoder.c

index b8052d3..b0ad5ab 100644 (file)
@@ -554,6 +554,7 @@ gst_vaapi_decoder_ensure_context(
 {
     GstVaapiDecoderPrivate * const priv = decoder->priv;
 
+    cip->rate_control = GST_VAAPI_RATECONTROL_NONE;
     gst_vaapi_decoder_set_picture_size(decoder, cip->width, cip->height);
 
     if (priv->context) {