diff --git a/sys/va/gstvah264dec.c b/sys/va/gstvah264dec.c index 6f61fc8c4a..3c01ebf77a 100644 --- a/sys/va/gstvah264dec.c +++ b/sys/va/gstvah264dec.c @@ -652,7 +652,7 @@ gst_va_h264_dec_new_sequence (GstH264Decoder * decoder, const GstH264SPS * sps, /* *INDENT-OFF* */ base->valign = (GstVideoAlignment) { .padding_bottom = self->coded_height - base->height, - .padding_left = self->coded_width - base->width, + .padding_right = self->coded_width - base->width, }; /* *INDENT-ON* */ }