diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c index 31673bb3ac..3a85682f8e 100644 --- a/sys/xvimage/xvimagepool.c +++ b/sys/xvimage/xvimagepool.c @@ -397,8 +397,8 @@ xvimage_memory_alloc (GstXvImageBufferPool * xvpool) error_caught = FALSE; XSetErrorHandler (handler); - gst_memory_init (GST_MEMORY_CAST (mem), 0, xvpool->allocator, - NULL, mem->size + align, align, offset, mem->size); + gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE, + xvpool->allocator, NULL, mem->size + align, align, offset, mem->size); g_mutex_unlock (&xvimagesink->x_lock); diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 5d3bccdec3..76db6b446b 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1849,7 +1849,7 @@ gst_xvimagesink_show_frame (GstVideoSink * vsink, GstBuffer * buf) goto no_buffer; GST_CAT_LOG_OBJECT (GST_CAT_PERFORMANCE, xvimagesink, - "slow copy into bufferpool buffer %p", to_put); + "slow copy buffer %p into bufferpool buffer %p", buf, to_put); if (!gst_video_frame_map (&src, &xvimagesink->info, buf, GST_MAP_READ)) goto invalid_buffer;