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
@ -350,7 +350,7 @@ gst_va_encoder_open (GstVaEncoder * self, VAProfile profile,
|
|||||||
GArray *surface_formats = NULL;
|
GArray *surface_formats = NULL;
|
||||||
VAStatus status;
|
VAStatus status;
|
||||||
GstBufferPool *recon_pool = NULL;
|
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 (GST_IS_VA_ENCODER (self), FALSE);
|
||||||
g_return_val_if_fail (codedbuf_size > 0, FALSE);
|
g_return_val_if_fail (codedbuf_size > 0, FALSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user