mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
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.
This commit is contained in:
parent
bc2cdd57d5
commit
6e1bab8608
2 changed files with 9 additions and 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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue