mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
mpeg2: reset quantization matrices on new sequence headers.
The MPEG-2 standard specifies (6.3.7) that all quantisation matrices shall be reset to their default values when a Sequence_Header() is decoded. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
800b66f071
commit
c2ddf464e5
1 changed files with 1 additions and 0 deletions
|
@ -580,6 +580,7 @@ decode_sequence(GstVaapiDecoderMpeg2 *decoder, GstVaapiDecoderUnit *unit)
|
|||
gst_vaapi_parser_info_mpeg2_replace(&priv->seq_ext, NULL);
|
||||
gst_vaapi_parser_info_mpeg2_replace(&priv->seq_display_ext, NULL);
|
||||
gst_vaapi_parser_info_mpeg2_replace(&priv->seq_scalable_ext, NULL);
|
||||
gst_vaapi_parser_info_mpeg2_replace(&priv->quant_matrix, NULL);
|
||||
|
||||
priv->fps_n = seq_hdr->fps_n;
|
||||
priv->fps_d = seq_hdr->fps_d;
|
||||
|
|
Loading…
Reference in a new issue