_gst_vaapi_image_unmap(image);
+ GST_DEBUG("image 0x%08x", priv->internal_image.image_id);
+
if (priv->internal_image.image_id != VA_INVALID_ID) {
GST_VAAPI_DISPLAY_LOCK(priv->display);
status = vaDestroyImage(
GstVaapiDisplay *display;
VAStatus status;
+ GST_DEBUG("subpicture 0x%08x", priv->subpicture_id);
+
if (priv->subpicture_id != VA_INVALID_ID) {
display = gst_vaapi_image_get_display(priv->image);
if (display) {
if (!vaapi_check_status(status, "vaCreateSubpicture()"))
return FALSE;
+ GST_DEBUG("subpicture 0x%08x", subpicture_id);
priv->subpicture_id = subpicture_id;
return TRUE;
}
{
g_return_val_if_fail(GST_VAAPI_IS_IMAGE(image), NULL);
- GST_DEBUG("image 0x%08x", gst_vaapi_image_get_id(image));
+ GST_DEBUG("create from image 0x%08x", gst_vaapi_image_get_id(image));
return g_object_new(GST_VAAPI_TYPE_SUBPICTURE,
"image", image,
GstVaapiSurfacePrivate * const priv = surface->priv;
VAStatus status;
+ GST_DEBUG("surface 0x%08x", priv->surface_id);
+
if (priv->surface_id != VA_INVALID_SURFACE) {
GST_VAAPI_DISPLAY_LOCK(priv->display);
status = vaDestroySurfaces(
if (!vaapi_check_status(status, "vaCreateSurfaces()"))
return FALSE;
+ GST_DEBUG("surface 0x%08x", surface_id);
priv->surface_id = surface_id;
return TRUE;
}