From: Wind Yuan Date: Mon, 12 Nov 2012 09:04:07 +0000 (+0800) Subject: decoder context: rate_control unset to GST_VAAPI_RATECONTROL_NONE X-Git-Tag: accepted/2.0/20130321.180609~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a7c9fffa6d9fd22f34f1d75fe39b81f2f3b014f;hp=ca5b28accfff7988124a58043d1c2a062280c08c;p=profile%2Fivi%2Fgstreamer-vaapi.git decoder context: rate_control unset to GST_VAAPI_RATECONTROL_NONE --- diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c index b8052d3..b0ad5ab 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder.c @@ -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) {