va: change AV1 GstVideoAlignment setting to left-top corner.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2298>
This commit is contained in:
He Junyan 2021-06-09 17:29:19 +08:00 committed by GStreamer Marge Bot
parent abf6c51e83
commit a2d5223473

View file

@ -305,7 +305,7 @@ gst_va_av1_dec_new_picture (GstAV1Decoder * decoder,
/* *INDENT-OFF* */
base->valign = (GstVideoAlignment){
.padding_bottom = self->max_height - base->height,
.padding_left = self->max_width - base->width,
.padding_right = self->max_width - base->width,
};
/* *INDENT-ON* */
}