mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
Fix g_warning() invocation.
This commit is contained in:
parent
ae6c1637f3
commit
4f7af960cb
3 changed files with 3 additions and 3 deletions
|
@ -160,7 +160,7 @@ gst_vaapi_image_destroy(GstVaapiImage *image)
|
|||
status = vaDestroyImage(GST_VAAPI_DISPLAY_VADISPLAY(display), image_id);
|
||||
GST_VAAPI_DISPLAY_UNLOCK(display);
|
||||
if (!vaapi_check_status(status, "vaDestroyImage()"))
|
||||
g_warning("failed to destroy image %" GST_VAAPI_ID_FORMAT "\n",
|
||||
g_warning("failed to destroy image %" GST_VAAPI_ID_FORMAT,
|
||||
GST_VAAPI_ID_ARGS(image_id));
|
||||
GST_VAAPI_OBJECT_ID(image) = VA_INVALID_ID;
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ gst_vaapi_subpicture_destroy(GstVaapiSubpicture *subpicture)
|
|||
);
|
||||
GST_VAAPI_DISPLAY_UNLOCK(display);
|
||||
if (!vaapi_check_status(status, "vaDestroySubpicture()"))
|
||||
g_warning("failed to destroy subpicture %" GST_VAAPI_ID_FORMAT "\n",
|
||||
g_warning("failed to destroy subpicture %" GST_VAAPI_ID_FORMAT,
|
||||
GST_VAAPI_ID_ARGS(subpicture_id));
|
||||
}
|
||||
GST_VAAPI_OBJECT_ID(subpicture) = VA_INVALID_ID;
|
||||
|
|
|
@ -100,7 +100,7 @@ gst_vaapi_surface_destroy(GstVaapiSurface *surface)
|
|||
);
|
||||
GST_VAAPI_DISPLAY_UNLOCK(display);
|
||||
if (!vaapi_check_status(status, "vaDestroySurfaces()"))
|
||||
g_warning("failed to destroy surface %" GST_VAAPI_ID_FORMAT "\n",
|
||||
g_warning("failed to destroy surface %" GST_VAAPI_ID_FORMAT,
|
||||
GST_VAAPI_ID_ARGS(surface_id));
|
||||
GST_VAAPI_OBJECT_ID(surface) = VA_INVALID_SURFACE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue