summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-10-09 17:23:30 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-10-09 17:23:30 +0200
commit9132090182366d13dd8d0bf4c24a9d98b2c0af96 (patch)
tree5f7ca6753ab248aa7afce42a897f22e7a2c95d58 /gst-libs/gst/vaapi
parent5567a3d2cda993eb930dd38664b3fbfbc9294145 (diff)
libs: replace g_warning with GST_WARNING
Diffstat (limited to 'gst-libs/gst/vaapi')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiimage.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapisubpicture.c2
-rw-r--r--gst-libs/gst/vaapi/gstvaapisurface.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiimage.c b/gst-libs/gst/vaapi/gstvaapiimage.c
index 797d567b..d1d73668 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 c8a15020..7c3f54d4 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 4940fff5..f7f948fe 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;
}