mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
va: Fix in error logs functions mismatches
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5340>
This commit is contained in:
parent
eef2348743
commit
6efc79f5b6
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);
|
VA_PROGRESSIVE, render_targets, num_render_targets, &context);
|
||||||
|
|
||||||
if (status != VA_STATUS_SUCCESS) {
|
if (status != VA_STATUS_SUCCESS) {
|
||||||
GST_ERROR_OBJECT (self, "vaDestroyConfig: %s", vaErrorStr (status));
|
GST_ERROR_OBJECT (self, "vaCreateContext: %s", vaErrorStr (status));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -146,7 +146,7 @@ gst_va_display_has_vpp (GstVaDisplay * self)
|
||||||
|
|
||||||
status = vaQueryConfigEntrypoints (dpy, VAProfileNone, entrypoints, &num);
|
status = vaQueryConfigEntrypoints (dpy, VAProfileNone, entrypoints, &num);
|
||||||
if (status != VA_STATUS_SUCCESS) {
|
if (status != VA_STATUS_SUCCESS) {
|
||||||
GST_ERROR ("vaQueryImageFormats: %s", vaErrorStr (status));
|
GST_ERROR ("vaQueryConfigEntrypoints: %s", vaErrorStr (status));
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue