From 1c43e3628dab154b73e284fd48bbd7374141b51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 7 Jul 2012 15:44:57 +0100 Subject: [PATCH] examples: fix debug log print formats in memory examples --- tests/examples/memory/my-memory.c | 3 ++- tests/examples/memory/my-vidmem.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/examples/memory/my-memory.c b/tests/examples/memory/my-memory.c index 15ab973ff1..6993a210ed 100644 --- a/tests/examples/memory/my-memory.c +++ b/tests/examples/memory/my-memory.c @@ -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) diff --git a/tests/examples/memory/my-vidmem.c b/tests/examples/memory/my-vidmem.c index 996fee2150..768a6160fc 100644 --- a/tests/examples/memory/my-vidmem.c +++ b/tests/examples/memory/my-vidmem.c @@ -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)