diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-12-15 09:34:31 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-12-15 09:34:31 +0000 |
commit | 6e1bab8608730592f3354e0a04d6fd01f6d69678 (patch) | |
tree | cf460a62a845091d5ac297ec00aeb5ee3b31e01c | |
parent | bc2cdd57d549ab3ba59782e9b395d0cd683fd3ac (diff) | |
download | gst-plugins-bad-6e1bab8608730592f3354e0a04d6fd01f6d69678.tar.gz gst-plugins-bad-6e1bab8608730592f3354e0a04d6fd01f6d69678.tar.bz2 gst-plugins-bad-6e1bab8608730592f3354e0a04d6fd01f6d69678.zip |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/libmms/gstmms.c | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2006-12-15 Tim-Philipp Müller <tim at centricular dot net> + + * ext/libmms/gstmms.c: (gst_mms_create): + These debug statements should be using LOG level. + 2006-12-14 Tim-Philipp Müller <tim at centricular dot net> * gst/modplug/libmodplug/sndfile.cpp: diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index b89070e5..d80cac18 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; |