examples: fix debug log print formats in memory examples

This commit is contained in:
Tim-Philipp Müller 2012-07-07 15:44:57 +01:00
parent 73ab9d17e3
commit 1c43e3628d
2 changed files with 4 additions and 2 deletions

View file

@ -92,7 +92,8 @@ _my_mem_share (MyMemory * mem, gssize offset, gsize size)
MyMemory *sub;
GstMemory *parent;
GST_DEBUG ("%p: share %" G_GSSIZE_FORMAT, G_GSIZE_FORMAT, mem, offset, size);
GST_DEBUG ("%p: share %" G_GSSIZE_FORMAT " %" G_GSIZE_FORMAT, mem, offset,
size);
/* find the real parent */
if ((parent = mem->mem.parent) == NULL)

View file

@ -85,7 +85,8 @@ _my_vidmem_share (MyVidmem * mem, gssize offset, gsize size)
MyVidmem *sub;
GstMemory *parent;
GST_DEBUG ("%p: share %" G_GSSIZE_FORMAT, G_GSIZE_FORMAT, mem, offset, size);
GST_DEBUG ("%p: share %" G_GSSIZE_FORMAT " %" G_GSIZE_FORMAT, mem, offset,
size);
/* find the real parent */
if ((parent = mem->mem.parent) == NULL)