diff options
author | Lasse Laukkanen <ext-lasse.2.laukkanen@nokia.com> | 2009-05-12 12:49:33 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-06-05 15:51:31 +0300 |
commit | 683b72a5fe0c26178855840cc1d0097df5389cc7 (patch) | |
tree | 153c5000f526f45725008abe84cd6f462817bef6 /gst/camerabin/camerabingeneral.c | |
parent | 430f34352212dc0954d6c6801244f38e17d24177 (diff) | |
download | gst-plugins-bad-683b72a5fe0c26178855840cc1d0097df5389cc7.tar.gz gst-plugins-bad-683b72a5fe0c26178855840cc1d0097df5389cc7.tar.bz2 gst-plugins-bad-683b72a5fe0c26178855840cc1d0097df5389cc7.zip |
camerabin: add debug including dot graph writing
Diffstat (limited to 'gst/camerabin/camerabingeneral.c')
-rw-r--r-- | gst/camerabin/camerabingeneral.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/camerabin/camerabingeneral.c b/gst/camerabin/camerabingeneral.c index 627e0328..d9d9a202 100644 --- a/gst/camerabin/camerabingeneral.c +++ b/gst/camerabin/camerabingeneral.c @@ -150,9 +150,9 @@ gst_camerabin_try_add_element (GstBin * bin, GstElement * new_elem) } /* Get pads for linking */ - GST_DEBUG ("finding unconnected src pad"); bin_pad = gst_bin_find_unlinked_pad (bin, GST_PAD_SRC); - GST_DEBUG ("unconnected pad %s:%s", GST_DEBUG_PAD_NAME (bin_pad)); + GST_DEBUG ("adding %" GST_PTR_FORMAT " to %s:%s", new_elem, + GST_DEBUG_PAD_NAME (bin_pad)); /* Add to bin */ gst_bin_add (GST_BIN (bin), new_elem); /* Link, if unconnected pad was found, otherwise just add it to bin */ @@ -185,7 +185,6 @@ gst_camerabin_create_and_add_element (GstBin * bin, const gchar * elem_name) { GstElement *new_elem = NULL; - GST_DEBUG ("adding %s", elem_name); new_elem = gst_element_factory_make (elem_name, NULL); if (!new_elem) { GST_ELEMENT_ERROR (bin, CORE, MISSING_PLUGIN, (NULL), |