va: Fix in error logs functions mismatches

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5236>
This commit is contained in:
Víctor Manuel Jáquez Leal 2023-08-24 12:12:09 +02:00 committed by GStreamer Marge Bot
parent bcee96020f
commit c1f99f4005
2 changed files with 2 additions and 2 deletions

View file

@ -328,7 +328,7 @@ gst_va_decoder_set_frame_size_with_surfaces (GstVaDecoder * self,
VA_PROGRESSIVE, render_targets, num_render_targets, &context);
if (status != VA_STATUS_SUCCESS) {
GST_ERROR_OBJECT (self, "vaDestroyConfig: %s", vaErrorStr (status));
GST_ERROR_OBJECT (self, "vaCreateContext: %s", vaErrorStr (status));
return FALSE;
}

View file

@ -146,7 +146,7 @@ gst_va_display_has_vpp (GstVaDisplay * self)
status = vaQueryConfigEntrypoints (dpy, VAProfileNone, entrypoints, &num);
if (status != VA_STATUS_SUCCESS) {
GST_ERROR ("vaQueryImageFormats: %s", vaErrorStr (status));
GST_ERROR ("vaQueryConfigEntrypoints: %s", vaErrorStr (status));
goto bail;
}