From 9132090182366d13dd8d0bf4c24a9d98b2c0af96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 9 Oct 2018 17:23:30 +0200 Subject: [PATCH] libs: replace g_warning with GST_WARNING --- gst-libs/gst/vaapi/gstvaapiimage.c | 2 +- gst-libs/gst/vaapi/gstvaapisubpicture.c | 2 +- gst-libs/gst/vaapi/gstvaapisurface.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiimage.c b/gst-libs/gst/vaapi/gstvaapiimage.c index 797d567bcf..d1d7366852 100644 --- a/gst-libs/gst/vaapi/gstvaapiimage.c +++ b/gst-libs/gst/vaapi/gstvaapiimage.c @@ -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; } diff --git a/gst-libs/gst/vaapi/gstvaapisubpicture.c b/gst-libs/gst/vaapi/gstvaapisubpicture.c index c8a15020ff..7c3f54d41b 100644 --- a/gst-libs/gst/vaapi/gstvaapisubpicture.c +++ b/gst-libs/gst/vaapi/gstvaapisubpicture.c @@ -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; diff --git a/gst-libs/gst/vaapi/gstvaapisurface.c b/gst-libs/gst/vaapi/gstvaapisurface.c index 4940fff5a5..f7f948fe52 100644 --- a/gst-libs/gst/vaapi/gstvaapisurface.c +++ b/gst-libs/gst/vaapi/gstvaapisurface.c @@ -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; }