GST_VIDEO_INFO_SIZE (vinfo) = sinfo.size;
- gst_memory_init (GST_MEMORY_CAST (tmem), GST_MEMORY_FLAG_NO_SHARE,
+ gst_memory_init (GST_MEMORY_CAST (tmem), 0,
allocator, parent, GST_VIDEO_INFO_SIZE (vinfo), 0, 0,
GST_VIDEO_INFO_SIZE (vinfo));
tmem = g_slice_new0 (GstTizenMemory);
- gst_memory_init (GST_MEMORY_CAST (tmem), GST_MEMORY_FLAG_NO_SHARE,
+ gst_memory_init (GST_MEMORY_CAST (tmem), 0,
allocator, parent, bo_size, 0, 0, size);
tmem->bo = bo;
mem = GST_MEMORY_CAST (tmem);
- gst_memory_init (mem, GST_MEMORY_FLAG_NO_SHARE, allocator, NULL,
+ gst_memory_init (mem, 0, allocator, NULL,
GST_VIDEO_INFO_SIZE (vinfo), 0, 0, GST_VIDEO_INFO_SIZE (vinfo));
return NULL;