codecparsers: av1: Fix a typo in frame_restoration_type setting.

Fixes: #1500
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1974>
This commit is contained in:
He Junyan 2021-01-22 16:56:24 +08:00 committed by GStreamer Merge Bot
parent 7196abf7a3
commit e8ec8f7dd7

View file

@ -2602,9 +2602,9 @@ gst_av1_parse_loop_restoration_params (GstAV1Parser * parser,
if (frame_header->all_lossless || frame_header->allow_intrabc
|| !seq_header->enable_restoration) {
lr_params->frame_restoration_type[0] = GST_AV1_FRAME_RESTORE_NONE;
lr_params->frame_restoration_type[0] = GST_AV1_FRAME_RESTORE_NONE;
lr_params->frame_restoration_type[0] = GST_AV1_FRAME_RESTORE_NONE;
for (i = 0; i < GST_AV1_MAX_NUM_PLANES; i++)
lr_params->frame_restoration_type[i] = GST_AV1_FRAME_RESTORE_NONE;
lr_params->uses_lr = 0;
goto success;
}