mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
va: Fix in error logs functions mismatches
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5236>
This commit is contained in:
parent
bcee96020f
commit
c1f99f4005
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue