mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
vaencoder: Reset attribute index to one.
Further fix to 4ffb3663
where I forgot to reset the attribute index.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3285>
This commit is contained in:
parent
1c1b0380cb
commit
96f0521155
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue