From 99932049e45d4e4bbd229926f4fa31b56dbf6f43 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Mon, 2 Apr 2012 10:43:30 +0200 Subject: [PATCH] mpeg2: fix simple to main profile fallback. Allow fallback from simple to main profile when the HW decoder does not support the former profile and that no sequence_header_extension() is available to point out this. --- gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c index 815d058f13..0e97d2e13d 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c @@ -1057,7 +1057,7 @@ gst_vaapi_decoder_mpeg2_init(GstVaapiDecoderMpeg2 *decoder) priv->has_pic_ext = FALSE; priv->has_quant_matrix_ext = FALSE; priv->size_changed = FALSE; - priv->profile_changed = FALSE; + priv->profile_changed = TRUE; /* Allow fallbacks to work */ priv->quant_matrix_changed = FALSE; priv->progressive_sequence = FALSE; priv->closed_gop = FALSE;