From 96f052115574620c3a9e5f8ea172f194717ac721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 27 Oct 2022 14:20:37 +0200 Subject: [PATCH] vaencoder: Reset attribute index to one. Further fix to 4ffb3663 where I forgot to reset the attribute index. Part-of: --- subprojects/gst-plugins-bad/sys/va/gstvaencoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/va/gstvaencoder.c b/subprojects/gst-plugins-bad/sys/va/gstvaencoder.c index 50fa38fd89..db836e27aa 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvaencoder.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvaencoder.c @@ -350,7 +350,7 @@ gst_va_encoder_open (GstVaEncoder * self, VAProfile profile, GArray *surface_formats = NULL; VAStatus status; GstBufferPool *recon_pool = NULL; - guint attrib_idx = 2; + guint attrib_idx = 1; g_return_val_if_fail (GST_IS_VA_ENCODER (self), FALSE); g_return_val_if_fail (codedbuf_size > 0, FALSE);