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
@ -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…
x
Reference in New Issue
Block a user