summaryrefslogtreecommitdiff
path: root/ext/libmms
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-12-15 09:34:31 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-12-15 09:34:31 +0000
commit6e1bab8608730592f3354e0a04d6fd01f6d69678 (patch)
treecf460a62a845091d5ac297ec00aeb5ee3b31e01c /ext/libmms
parentbc2cdd57d549ab3ba59782e9b395d0cd683fd3ac (diff)
downloadgstreamer-plugins-bad-6e1bab8608730592f3354e0a04d6fd01f6d69678.tar.gz
ext/libmms/gstmms.c: These debug statements should be using LOG level.
Original commit message from CVS: * ext/libmms/gstmms.c: (gst_mms_create): These debug statements should be using LOG level.
Diffstat (limited to 'ext/libmms')
-rw-r--r--ext/libmms/gstmms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c
index b89070e5d..d80cac185 100644
--- a/ext/libmms/gstmms.c
+++ b/ext/libmms/gstmms.c
@@ -239,7 +239,7 @@ gst_mms_create (GstPushSrc * psrc, GstBuffer ** buf)
data = GST_BUFFER_DATA (*buf);
GST_BUFFER_SIZE (*buf) = 0;
- GST_DEBUG ("reading %d bytes", blocksize);
+ GST_LOG_OBJECT (mmssrc, "reading %d bytes", blocksize);
if (mmssrc->connection) {
result = mms_read (NULL, mmssrc->connection, (char *) data, blocksize);
} else {
@@ -259,8 +259,8 @@ gst_mms_create (GstPushSrc * psrc, GstBuffer ** buf)
}
GST_BUFFER_SIZE (*buf) = result;
- GST_DEBUG ("Returning buffer with offset %" G_GINT64_FORMAT " and size %u",
- GST_BUFFER_OFFSET (*buf), GST_BUFFER_SIZE (*buf));
+ GST_LOG_OBJECT (mmssrc, "Returning buffer with offset %" G_GINT64_FORMAT
+ " and size %u", GST_BUFFER_OFFSET (*buf), GST_BUFFER_SIZE (*buf));
gst_buffer_set_caps (*buf, GST_PAD_CAPS (GST_BASE_SRC_PAD (mmssrc)));
@@ -268,7 +268,7 @@ gst_mms_create (GstPushSrc * psrc, GstBuffer ** buf)
eos:
{
- GST_DEBUG ("EOS");
+ GST_DEBUG_OBJECT (mmssrc, "EOS");
gst_buffer_unref (*buf);
*buf = NULL;
return GST_FLOW_UNEXPECTED;