From f2d522670e65507c83bd19eb58cce905fb6894ca Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 20 Sep 2010 16:45:32 +0200 Subject: [PATCH] discoverer: Fix debug statement. Fixes build on macosx --- gst-libs/gst/pbutils/gstdiscoverer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index 867fa65..dcd07f2 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/gst-libs/gst/pbutils/gstdiscoverer.c @@ -760,10 +760,10 @@ parse_stream_topology (GstDiscoverer * dc, const GstStructure * topology, GstCaps *caps; const GstStructure *st; - GST_DEBUG ("next is a structure %" GST_PTR_FORMAT); - st = gst_value_get_structure (nval); + GST_DEBUG ("next is a structure %" GST_PTR_FORMAT, st); + if (!parent) parent = res; -- 2.7.4