diff options
Diffstat (limited to 'gst/monoscope')
-rw-r--r-- | gst/monoscope/gstmonoscope.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 384dfa04..f6ff75a1 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <config.h> #include <gst/gst.h> @@ -234,15 +237,15 @@ gst_monoscope_chain (GstPad *pad, GstBuffer *bufin) monoscope = GST_MONOSCOPE (gst_pad_get_parent (pad)); - GST_DEBUG (0, "Monoscope: chainfunc called"); + GST_DEBUG ("Monoscope: chainfunc called"); samples_in = GST_BUFFER_SIZE (bufin) / sizeof (gint16); - GST_DEBUG (0, "input buffer has %d samples", samples_in); + GST_DEBUG ("input buffer has %d samples", samples_in); /* FIXME: should really select the first 1024 samples after the timestamp. */ if (GST_BUFFER_TIMESTAMP (bufin) < monoscope->next_time || samples_in < 1024) { - GST_DEBUG (0, "timestamp is %" G_GUINT64_FORMAT ": want >= %" G_GUINT64_FORMAT, GST_BUFFER_TIMESTAMP (bufin), monoscope->next_time); + GST_DEBUG ("timestamp is %" G_GUINT64_FORMAT ": want >= %" G_GUINT64_FORMAT, GST_BUFFER_TIMESTAMP (bufin), monoscope->next_time); gst_buffer_unref (bufin); return; } @@ -258,7 +261,7 @@ gst_monoscope_chain (GstPad *pad, GstBuffer *bufin) monoscope->visstate = monoscope_init (monoscope->width, monoscope->height); g_assert(monoscope->visstate != 0); - GST_DEBUG (0, "making new pad"); + GST_DEBUG ("making new pad"); caps = GST_CAPS_NEW ( "monoscopesrc", @@ -293,7 +296,7 @@ gst_monoscope_chain (GstPad *pad, GstBuffer *bufin) gst_buffer_unref (bufin); - GST_DEBUG (0, "Monoscope: exiting chainfunc"); + GST_DEBUG ("Monoscope: exiting chainfunc"); } |