mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: replace g_warning with GST_WARNING
This commit is contained in:
parent
5567a3d2cd
commit
9132090182
3 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,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,
|
||||
GST_WARNING ("failed to destroy image %" GST_VAAPI_ID_FORMAT,
|
||||
GST_VAAPI_ID_ARGS (image_id));
|
||||
GST_VAAPI_OBJECT_ID (image) = VA_INVALID_ID;
|
||||
}
|
||||
|
|
|
@ -83,7 +83,7 @@ gst_vaapi_subpicture_destroy (GstVaapiSubpicture * subpicture)
|
|||
subpicture_id);
|
||||
GST_VAAPI_DISPLAY_UNLOCK (display);
|
||||
if (!vaapi_check_status (status, "vaDestroySubpicture()"))
|
||||
g_warning ("failed to destroy subpicture %" GST_VAAPI_ID_FORMAT,
|
||||
GST_WARNING ("failed to destroy subpicture %" GST_VAAPI_ID_FORMAT,
|
||||
GST_VAAPI_ID_ARGS (subpicture_id));
|
||||
}
|
||||
GST_VAAPI_OBJECT_ID (subpicture) = VA_INVALID_ID;
|
||||
|
|
|
@ -86,7 +86,7 @@ gst_vaapi_surface_destroy (GstVaapiSurface * surface)
|
|||
&surface_id, 1);
|
||||
GST_VAAPI_DISPLAY_UNLOCK (display);
|
||||
if (!vaapi_check_status (status, "vaDestroySurfaces()"))
|
||||
g_warning ("failed to destroy surface %" GST_VAAPI_ID_FORMAT,
|
||||
GST_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