Can't print a GstMemory via GST_PTR_FORMAT, it will crash
inside GObject checking if it's a GObject, and we can't
check generically whether it's a derived GstMemory type,
as boxed types don't allowe derivation.
}
#ifdef HAVE_XSHM
if (context->use_xshm) {
- GST_LOG ("XvShmPutImage with image %dx%d and window %dx%d, from xvimage %"
- GST_PTR_FORMAT, src_crop->w, src_crop->h,
- window->render_rect.w, window->render_rect.h, mem);
+ GST_LOG ("XvShmPutImage with image %dx%d and window %dx%d, from xvimage %p",
+ src_crop->w, src_crop->h, window->render_rect.w, window->render_rect.h,
+ mem);
XvShmPutImage (context->disp,
context->xv_port_id,