From 96097de9f8451aeec10f5994a0ad430233afadca Mon Sep 17 00:00:00 2001 From: zhongcong Date: Wed, 13 Mar 2013 15:12:35 +0800 Subject: [PATCH] mpeg2: fix Quant-Matrix bug --- gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c index 19eed01..06ca3db 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c @@ -484,6 +484,7 @@ ensure_quant_matrix(GstVaapiDecoderMpeg2 *decoder, GstVaapiPicture *picture) chroma_intra_quant_matrix = priv->quant_matrix_ext.chroma_intra_quantiser_matrix; if (priv->quant_matrix_ext.load_chroma_non_intra_quantiser_matrix) chroma_non_intra_quant_matrix = priv->quant_matrix_ext.chroma_non_intra_quantiser_matrix; + priv->has_quant_matrix_ext = FALSE; } iq_matrix->load_intra_quantiser_matrix = intra_quant_matrix != NULL; -- 1.7.9.5