mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
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.
This commit is contained in:
parent
b33dd69300
commit
99932049e4
1 changed files with 1 additions and 1 deletions
|
@ -1057,7 +1057,7 @@ gst_vaapi_decoder_mpeg2_init(GstVaapiDecoderMpeg2 *decoder)
|
||||||
priv->has_pic_ext = FALSE;
|
priv->has_pic_ext = FALSE;
|
||||||
priv->has_quant_matrix_ext = FALSE;
|
priv->has_quant_matrix_ext = FALSE;
|
||||||
priv->size_changed = FALSE;
|
priv->size_changed = FALSE;
|
||||||
priv->profile_changed = FALSE;
|
priv->profile_changed = TRUE; /* Allow fallbacks to work */
|
||||||
priv->quant_matrix_changed = FALSE;
|
priv->quant_matrix_changed = FALSE;
|
||||||
priv->progressive_sequence = FALSE;
|
priv->progressive_sequence = FALSE;
|
||||||
priv->closed_gop = FALSE;
|
priv->closed_gop = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue