Fix g_warning() invocation.

This commit is contained in:
gb 2010-03-24 15:12:56 +00:00
parent ae6c1637f3
commit 4f7af960cb
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;

View file

@ -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;
}