summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-04-25 20:41:00 +0000
committerOlivier Crete <olivier.crete@collabora.co.uk>2008-04-25 20:41:00 +0000
commit22cd2ce1e9d1fca7617900961f6b3a46f569fc16 (patch)
treee3fd869e7a5b8fb0b9cbe89a2b40db420b8fc968 /gst
parent6b4179fdc06488c61add925b748dd1d2bf98320f (diff)
downloadlibnice-22cd2ce1e9d1fca7617900961f6b3a46f569fc16.tar.gz
Add some debugging messages to the gst elements
darcs-hash:20080425204105-3e2dc-275f3d4f39042cdda9bdb58a647db4386b059b2b.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/gstnicesrc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/gstnicesrc.c b/gst/gstnicesrc.c
index db3321f..c9a967e 100644
--- a/gst/gstnicesrc.c
+++ b/gst/gstnicesrc.c
@@ -190,6 +190,8 @@ gst_nice_src_read_callback (NiceAgent *agent,
GstBaseSrc *basesrc = GST_BASE_SRC (data);
GstNiceSrc *nicesrc = GST_NICE_SRC (basesrc);
+ GST_LOG_OBJECT (agent, "Got buffer, getting out of the main loop");
+
nicesrc->flow_ret = gst_pad_alloc_buffer (basesrc->srcpad, nicesrc->offset,
len, GST_PAD_CAPS (basesrc->srcpad), &nicesrc->outbuf);
if (nicesrc->flow_ret == GST_FLOW_OK) {
@@ -256,6 +258,8 @@ gst_nice_src_create (
{
GstNiceSrc *nicesrc = GST_NICE_SRC (basesrc);
+ GST_LOG_OBJECT (nicesrc, "create called");
+
nicesrc->outbuf = NULL;
nicesrc->offset = offset;
@@ -269,6 +273,8 @@ gst_nice_src_create (
g_main_loop_run (nicesrc->mainloop);
if (nicesrc->outbuf) {
+ GST_LOG_OBJECT (nicesrc, "Got buffer, pushing");
+
*buffer = nicesrc->outbuf;
return nicesrc->flow_ret;
} else {