diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/aalib/gstaasink.c | 4 | ||||
-rw-r--r-- | ext/esd/esdmon.c | 14 | ||||
-rw-r--r-- | ext/esd/esdsink.c | 12 | ||||
-rw-r--r-- | ext/flac/gstflacenc.c | 4 | ||||
-rw-r--r-- | ext/jpeg/gstjpegdec.c | 26 | ||||
-rw-r--r-- | ext/jpeg/gstjpegenc.c | 30 | ||||
-rw-r--r-- | ext/ladspa/gstladspa.c | 28 | ||||
-rw-r--r-- | ext/mikmod/gstmikmod.c | 2 |
8 files changed, 60 insertions, 60 deletions
diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 0aae897e..b19623e9 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -247,7 +247,7 @@ gst_aasink_sinkconnect (GstPad *pad, GstCaps *caps) print_format = GULONG_FROM_LE (aasink->format); - GST_DEBUG (0, "aasink: setting %08lx (%4.4s)\n", aasink->format, (gchar*)&print_format); + GST_DEBUG (0, "aasink: setting %08lx (%4.4s)", aasink->format, (gchar*)&print_format); g_signal_emit( G_OBJECT (aasink), gst_aasink_signals[SIGNAL_HAVE_SIZE], 0, aasink->width, aasink->height); @@ -347,7 +347,7 @@ gst_aasink_chain (GstPad *pad, GstBuffer *buf) aa_imgwidth (aasink->context), /* dw */ aa_imgheight (aasink->context)); /* dh */ - GST_DEBUG (0,"videosink: clock wait: %llu\n", GST_BUFFER_TIMESTAMP(buf)); + GST_DEBUG (0,"videosink: clock wait: %llu", GST_BUFFER_TIMESTAMP(buf)); if (aasink->clock) { gst_element_clock_wait (GST_ELEMENT (aasink), aasink->clock, GST_BUFFER_TIMESTAMP(buf)); diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index 0ead7f7f..618b94fe 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -277,7 +277,7 @@ gst_esdmon_get (GstPad *pad) g_return_val_if_fail (pad != NULL, NULL); esdmon = GST_ESDMON(gst_pad_get_parent (pad)); - GST_DEBUG (GST_CAT_PLUGIN_INFO, "attempting to read something from esdmon\n"); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "attempting to read something from esdmon"); buf = gst_buffer_new (); g_return_val_if_fail (buf, NULL); @@ -323,7 +323,7 @@ gst_esdmon_get (GstPad *pad) if (esdmon->depth == 16) readsamples /= 2; esdmon->samples_since_basetime += readsamples; - GST_DEBUG (GST_CAT_PLUGIN_INFO, "pushed buffer from esdmon of %ld bytes, timestamp %lld\n", readbytes, GST_BUFFER_TIMESTAMP (buf)); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "pushed buffer from esdmon of %ld bytes, timestamp %lld", readbytes, GST_BUFFER_TIMESTAMP (buf)); return buf; } @@ -441,21 +441,21 @@ gst_esdmon_open_audio (GstEsdmon *src) if (src->depth == 16) esdformat |= ESD_BITS16; else if (src->depth == 8) esdformat |= ESD_BITS8; else { - GST_DEBUG (0, "esdmon: invalid bit depth (%d)\n", src->depth); + GST_DEBUG (0, "esdmon: invalid bit depth (%d)", src->depth); return FALSE; } if (src->channels == 2) esdformat |= ESD_STEREO; else if (src->channels == 1) esdformat |= ESD_MONO; else { - GST_DEBUG (0, "esdmon: invalid number of channels (%d)\n", src->channels); + GST_DEBUG (0, "esdmon: invalid number of channels (%d)", src->channels); return FALSE; } - GST_DEBUG (0, "esdmon: attempting to open connection to esound server\n"); + GST_DEBUG (0, "esdmon: attempting to open connection to esound server"); src->fd = esd_monitor_stream(esdformat, src->frequency, src->host, connname); if ( src->fd < 0 ) { - GST_DEBUG (0, "esdmon: can't open connection to esound server\n"); + GST_DEBUG (0, "esdmon: can't open connection to esound server"); return FALSE; } @@ -474,7 +474,7 @@ gst_esdmon_close_audio (GstEsdmon *src) GST_FLAG_UNSET (src, GST_ESDMON_OPEN); - GST_DEBUG (0, "esdmon: closed sound device\n"); + GST_DEBUG (0, "esdmon: closed sound device"); } static GstElementStateReturn diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 99dfff17..b22e69d4 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -250,7 +250,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf) if (GST_BUFFER_DATA (buf) != NULL) { if (!esdsink->mute && esdsink->fd >= 0) { - GST_DEBUG (0, "esdsink: fd=%d data=%p size=%d\n", + GST_DEBUG (0, "esdsink: fd=%d data=%p size=%d", esdsink->fd, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf)); write (esdsink->fd, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf)); } @@ -363,21 +363,21 @@ gst_esdsink_open_audio (GstEsdsink *sink) if (sink->depth == 16) esdformat |= ESD_BITS16; else if (sink->depth == 8) esdformat |= ESD_BITS8; else { - GST_DEBUG (0, "esdsink: invalid bit depth (%d)\n", sink->depth); + GST_DEBUG (0, "esdsink: invalid bit depth (%d)", sink->depth); return FALSE; } if (sink->channels == 2) esdformat |= ESD_STEREO; else if (sink->channels == 1) esdformat |= ESD_MONO; else { - GST_DEBUG (0, "esdsink: invalid number of channels (%d)\n", sink->channels); + GST_DEBUG (0, "esdsink: invalid number of channels (%d)", sink->channels); return FALSE; } - GST_DEBUG (0, "esdsink: attempting to open connection to esound server\n"); + GST_DEBUG (0, "esdsink: attempting to open connection to esound server"); sink->fd = esd_play_stream_fallback(esdformat, sink->frequency, sink->host, connname); if ( sink->fd < 0 ) { - GST_DEBUG (0, "esdsink: can't open connection to esound server\n"); + GST_DEBUG (0, "esdsink: can't open connection to esound server"); return FALSE; } @@ -396,7 +396,7 @@ gst_esdsink_close_audio (GstEsdsink *sink) GST_FLAG_UNSET (sink, GST_ESDSINK_OPEN); - GST_DEBUG (0, "esdsink: closed sound device\n"); + GST_DEBUG (0, "esdsink: closed sound device"); } static GstElementStateReturn diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 60390e11..a1f06b28 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -231,7 +231,7 @@ gst_flacenc_set_property(GObject *object, guint prop_id, const GValue *value, GP this = (FlacEnc *)object; switch (prop_id) { default: - GST_DEBUG(0, "Unknown arg %d\n", prop_id); + GST_DEBUG(0, "Unknown arg %d", prop_id); return; } } @@ -245,7 +245,7 @@ gst_flacenc_get_property(GObject *object, guint prop_id, GValue *value, GParamSp switch (prop_id) { default: - GST_DEBUG(0, "Unknown arg %d\n", prop_id); + GST_DEBUG(0, "Unknown arg %d", prop_id); break; } } diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index 9dfab51e..93c1cd3b 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -87,38 +87,38 @@ gst_jpegdec_class_init (GstJpegDec *klass) static void gst_jpegdec_init_source (j_decompress_ptr cinfo) { - GST_DEBUG (0,"gst_jpegdec_chain: init_source\n"); + GST_DEBUG (0,"gst_jpegdec_chain: init_source"); } static gboolean gst_jpegdec_fill_input_buffer (j_decompress_ptr cinfo) { - GST_DEBUG (0,"gst_jpegdec_chain: fill_input_buffer\n"); + GST_DEBUG (0,"gst_jpegdec_chain: fill_input_buffer"); return TRUE; } static void gst_jpegdec_skip_input_data (j_decompress_ptr cinfo, glong num_bytes) { - GST_DEBUG (0,"gst_jpegdec_chain: skip_input_data\n"); + GST_DEBUG (0,"gst_jpegdec_chain: skip_input_data"); } static gboolean gst_jpegdec_resync_to_restart (j_decompress_ptr cinfo, gint desired) { - GST_DEBUG (0,"gst_jpegdec_chain: resync_to_start\n"); + GST_DEBUG (0,"gst_jpegdec_chain: resync_to_start"); return TRUE; } static void gst_jpegdec_term_source (j_decompress_ptr cinfo) { - GST_DEBUG (0,"gst_jpegdec_chain: term_source\n"); + GST_DEBUG (0,"gst_jpegdec_chain: term_source"); } static void gst_jpegdec_init (GstJpegDec *jpegdec) { - GST_DEBUG (0,"gst_jpegdec_init: initializing\n"); + GST_DEBUG (0,"gst_jpegdec_init: initializing"); /* create the sink and src pads */ jpegdec->sinkpad = gst_pad_new_from_template (jpegdec_sink_template, "sink"); gst_element_add_pad(GST_ELEMENT(jpegdec),jpegdec->sinkpad); @@ -180,14 +180,14 @@ gst_jpegdec_chain (GstPad *pad, GstBuffer *buf) data = (guchar *)GST_BUFFER_DATA(buf); size = GST_BUFFER_SIZE(buf); - GST_DEBUG (0,"gst_jpegdec_chain: got buffer of %ld bytes in '%s'\n",size, + GST_DEBUG (0,"gst_jpegdec_chain: got buffer of %ld bytes in '%s'",size, GST_OBJECT_NAME (jpegdec)); jpegdec->jsrc.next_input_byte = data; jpegdec->jsrc.bytes_in_buffer = size; - GST_DEBUG (0,"gst_jpegdec_chain: reading header %08lx\n", *(gulong *)data); + GST_DEBUG (0,"gst_jpegdec_chain: reading header %08lx", *(gulong *)data); jpeg_read_header(&jpegdec->cinfo, TRUE); r_h = jpegdec->cinfo.cur_comp_info[0]->h_samp_factor; @@ -202,11 +202,11 @@ gst_jpegdec_chain (GstPad *pad, GstBuffer *buf) jpegdec->cinfo.out_color_space = JCS_YCbCr; jpegdec->cinfo.dct_method = JDCT_IFAST; jpegdec->cinfo.raw_data_out = TRUE; - GST_DEBUG (0,"gst_jpegdec_chain: starting decompress\n"); + GST_DEBUG (0,"gst_jpegdec_chain: starting decompress"); jpeg_start_decompress(&jpegdec->cinfo); width = jpegdec->cinfo.output_width; height = jpegdec->cinfo.output_height; - GST_DEBUG (0,"gst_jpegdec_chain: width %d, height %d\n", width, height); + GST_DEBUG (0,"gst_jpegdec_chain: width %d, height %d", width, height); outbuf = gst_buffer_new(); outsize = GST_BUFFER_SIZE(outbuf) = width*height + @@ -237,7 +237,7 @@ gst_jpegdec_chain (GstPad *pad, GstBuffer *buf) width2 = width >> 1; - GST_DEBUG (0,"gst_jpegdec_chain: decompressing %u\n", jpegdec->cinfo.rec_outbuf_height); + GST_DEBUG (0,"gst_jpegdec_chain: decompressing %u", jpegdec->cinfo.rec_outbuf_height); for (i = 0; i < height; i += r_v*DCTSIZE) { for (j=0, k=0; j< (r_v*DCTSIZE); j += r_v, k++) { jpegdec->line[0][j] = base[0]; base[0] += width; @@ -254,10 +254,10 @@ gst_jpegdec_chain (GstPad *pad, GstBuffer *buf) jpeg_read_raw_data(&jpegdec->cinfo, jpegdec->line, r_v*DCTSIZE); } - GST_DEBUG (0,"gst_jpegdec_chain: decompressing finished\n"); + GST_DEBUG (0,"gst_jpegdec_chain: decompressing finished"); jpeg_finish_decompress(&jpegdec->cinfo); - GST_DEBUG (0,"gst_jpegdec_chain: sending buffer\n"); + GST_DEBUG (0,"gst_jpegdec_chain: sending buffer"); gst_pad_push(jpegdec->srcpad, outbuf); gst_buffer_unref(buf); diff --git a/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c index b8a660f9..135ac455 100644 --- a/ext/jpeg/gstjpegenc.c +++ b/ext/jpeg/gstjpegenc.c @@ -97,19 +97,19 @@ gst_jpegenc_class_init (GstJpegEnc *klass) static void gst_jpegenc_init_destination (j_compress_ptr cinfo) { - GST_DEBUG (0,"gst_jpegenc_chain: init_destination\n"); + GST_DEBUG (0,"gst_jpegenc_chain: init_destination"); } static gboolean gst_jpegenc_flush_destination (j_compress_ptr cinfo) { - GST_DEBUG (0,"gst_jpegenc_chain: flush_destination: buffer too small !!!\n"); + GST_DEBUG (0,"gst_jpegenc_chain: flush_destination: buffer too small !!!"); return TRUE; } static void gst_jpegenc_term_destination (j_compress_ptr cinfo) { - GST_DEBUG (0,"gst_jpegenc_chain: term_source\n"); + GST_DEBUG (0,"gst_jpegenc_chain: term_source"); } static void @@ -133,7 +133,7 @@ gst_jpegenc_init (GstJpegEnc *jpegenc) jpegenc->cinfo.err = jpeg_std_error(&jpegenc->jerr); jpeg_create_compress(&jpegenc->cinfo); - GST_DEBUG (0,"gst_jpegenc_init: setting line buffers\n"); + GST_DEBUG (0,"gst_jpegenc_init: setting line buffers"); jpegenc->line[0] = NULL; jpegenc->line[1] = NULL; jpegenc->line[2] = NULL; @@ -153,13 +153,13 @@ gst_jpegenc_resync (GstJpegEnc *jpegenc) guint size = 0; gint width, height; - GST_DEBUG (0,"gst_jpegenc_resync: resync\n"); + GST_DEBUG (0,"gst_jpegenc_resync: resync"); jpegenc->cinfo.image_width = width = jpegenc->width; jpegenc->cinfo.image_height = height = jpegenc->height; jpegenc->cinfo.input_components = 3; - GST_DEBUG (0,"gst_jpegenc_resync: wdith %d, height %d\n", width, height); + GST_DEBUG (0,"gst_jpegenc_resync: wdith %d, height %d", width, height); jpeg_set_defaults(&jpegenc->cinfo); jpegenc->cinfo.dct_method = JDCT_FASTEST; @@ -171,7 +171,7 @@ gst_jpegenc_resync (GstJpegEnc *jpegenc) switch (jpegenc->format) { case GST_COLORSPACE_RGB24: size = 3; - GST_DEBUG (0,"gst_jpegenc_resync: setting format to RGB24\n"); + GST_DEBUG (0,"gst_jpegenc_resync: setting format to RGB24"); jpegenc->cinfo.in_color_space = JCS_RGB; jpegenc->cinfo.raw_data_in = FALSE; break; @@ -179,7 +179,7 @@ gst_jpegenc_resync (GstJpegEnc *jpegenc) size = 2; jpegenc->cinfo.raw_data_in = TRUE; jpegenc->cinfo.in_color_space = JCS_YCbCr; - GST_DEBUG (0,"gst_jpegenc_resync: setting format to YUV420P\n"); + GST_DEBUG (0,"gst_jpegenc_resync: setting format to YUV420P"); jpegenc->cinfo.comp_info[0].h_samp_factor = 2; jpegenc->cinfo.comp_info[0].v_samp_factor = 2; jpegenc->cinfo.comp_info[1].h_samp_factor = 1; @@ -193,7 +193,7 @@ gst_jpegenc_resync (GstJpegEnc *jpegenc) jpegenc->line[2] = g_realloc(jpegenc->line[2], height*sizeof(char*)/2); } - GST_DEBUG (0,"gst_jpegenc_resync: setting format done\n"); + GST_DEBUG (0,"gst_jpegenc_resync: setting format done"); break; default: printf("gst_jpegenc_resync: unsupported colorspace, using RGB\n"); @@ -208,7 +208,7 @@ gst_jpegenc_resync (GstJpegEnc *jpegenc) jpeg_suppress_tables(&jpegenc->cinfo, TRUE); jpegenc->buffer = NULL; - GST_DEBUG (0,"gst_jpegenc_resync: resync done\n"); + GST_DEBUG (0,"gst_jpegenc_resync: resync done"); } static GstBuffer* @@ -217,7 +217,7 @@ gst_jpegenc_get (GstPad *pad) GstJpegEnc *jpegenc; GstBuffer *newbuf; - GST_DEBUG (0,"gst_jpegenc_chain: pull buffer\n"); + GST_DEBUG (0,"gst_jpegenc_chain: pull buffer"); g_return_val_if_fail (pad != NULL, NULL); g_return_val_if_fail (GST_IS_PAD (pad), NULL); @@ -226,7 +226,7 @@ gst_jpegenc_get (GstPad *pad) if (jpegenc->buffer == NULL || GST_BUFFER_REFCOUNT(jpegenc->buffer) != 1) { if (jpegenc->buffer) gst_buffer_unref(jpegenc->buffer); - GST_DEBUG (0,"gst_jpegenc_chain: new buffer\n"); + GST_DEBUG (0,"gst_jpegenc_chain: new buffer"); newbuf = jpegenc->buffer = gst_buffer_new(); GST_BUFFER_DATA(newbuf) = g_malloc(jpegenc->bufsize); GST_BUFFER_SIZE(newbuf) = jpegenc->bufsize; @@ -259,7 +259,7 @@ gst_jpegenc_chain (GstPad *pad, GstBuffer *buf) data = GST_BUFFER_DATA(buf); size = GST_BUFFER_SIZE(buf); - GST_DEBUG (0,"gst_jpegenc_chain: got buffer of %ld bytes in '%s'\n",size, + GST_DEBUG (0,"gst_jpegenc_chain: got buffer of %ld bytes in '%s'",size, GST_OBJECT_NAME (jpegenc)); outbuf = gst_buffer_new(); @@ -280,7 +280,7 @@ gst_jpegenc_chain (GstPad *pad, GstBuffer *buf) jpeg_start_compress(&jpegenc->cinfo, TRUE); width2 = width>>1; - GST_DEBUG (0,"gst_jpegdec_chain: compressing\n"); + GST_DEBUG (0,"gst_jpegdec_chain: compressing"); for (i = 0; i < height; i += 2*DCTSIZE) { for (j=0, k=0; j<2*DCTSIZE;j+=2, k++) { @@ -292,7 +292,7 @@ gst_jpegenc_chain (GstPad *pad, GstBuffer *buf) jpeg_write_raw_data(&jpegenc->cinfo, jpegenc->line, 2*DCTSIZE); } jpeg_finish_compress(&jpegenc->cinfo); - GST_DEBUG (0,"gst_jpegdec_chain: compressing done\n"); + GST_DEBUG (0,"gst_jpegdec_chain: compressing done"); GST_BUFFER_SIZE(outbuf) = (((outsize - jpegenc->jdest.free_in_buffer)+3)&~3); diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index 0eab11cd..69eeed53 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -184,19 +184,19 @@ gst_ladspa_class_init (GstLADSPAClass *klass) for (i=0;i<desc->PortCount;i++) { if (LADSPA_IS_PORT_AUDIO(desc->PortDescriptors[i]) && LADSPA_IS_PORT_INPUT(desc->PortDescriptors[i])){ - GST_DEBUG (0, "input port %d\n", i); + GST_DEBUG (0, "input port %d", i); klass->sinkpad_portnums[sinkcount++] = i; } if (LADSPA_IS_PORT_AUDIO(desc->PortDescriptors[i]) && LADSPA_IS_PORT_OUTPUT(desc->PortDescriptors[i])){ - GST_DEBUG (0, "output port %d\n", i); + GST_DEBUG (0, "output port %d", i); klass->srcpad_portnums[srccount++] = i; } if (LADSPA_IS_PORT_CONTROL(desc->PortDescriptors[i]) && LADSPA_IS_PORT_INPUT(desc->PortDescriptors[i])){ - GST_DEBUG (0, "control port %d\n", i); + GST_DEBUG (0, "control port %d", i); klass->control_portnums[controlcount++] = i; } } @@ -450,7 +450,7 @@ gst_ladspa_connect_get (GstPad *pad, GstCaps *caps) static void gst_ladspa_force_src_caps(GstLADSPA *ladspa, GstPad *pad) { - GST_DEBUG (0, "forcing caps\n"); + GST_DEBUG (0, "forcing caps"); gst_pad_try_set_caps (pad, gst_caps_new ( "ladspa_src_caps", "audio/raw", @@ -528,7 +528,7 @@ gst_ladspa_set_property (GObject *object, guint prop_id, const GValue *value, GP ladspa->controls[cid] = val; } - GST_DEBUG (0, "set arg %s to %f\n", control_info->name, ladspa->controls[cid]); + GST_DEBUG (0, "set arg %s to %f", control_info->name, ladspa->controls[cid]); } static void @@ -556,7 +556,7 @@ gst_ladspa_get_property (GObject *object, guint prop_id, GValue *value, GParamSp control_info = &(oclass->control_info[cid]); if (control_info->name == NULL) return; - GST_DEBUG (0, "got arg %s as %f\n", control_info->name, ladspa->controls[cid]); + GST_DEBUG (0, "got arg %s as %f", control_info->name, ladspa->controls[cid]); /* now see what type it is */ if (control_info->toggled) { @@ -589,7 +589,7 @@ gst_ladspa_instantiate (GstLADSPA *ladspa) } /* instantiate the plugin */ - GST_DEBUG (0, "instantiating the plugin\n"); + GST_DEBUG (0, "instantiating the plugin"); ladspa->handle = desc->instantiate(desc,ladspa->samplerate); g_return_val_if_fail (ladspa->handle != NULL, FALSE); @@ -597,7 +597,7 @@ gst_ladspa_instantiate (GstLADSPA *ladspa) /* walk through the ports and add all the arguments */ for (i=0;i<oclass->numcontrols;i++) { /* connect the argument to the plugin */ - GST_DEBUG (0, "added control port %d\n", oclass->control_portnums[i]); + GST_DEBUG (0, "added control port %d", oclass->control_portnums[i]); desc->connect_port(ladspa->handle, oclass->control_portnums[i], &(ladspa->controls[i])); @@ -617,7 +617,7 @@ gst_ladspa_change_state (GstElement *element) GstLADSPA *ladspa = (GstLADSPA*)element; desc = ladspa->descriptor; - GST_DEBUG (0, "changing state\n"); + GST_DEBUG (0, "changing state"); switch (GST_STATE_TRANSITION (element)) { case GST_STATE_NULL_TO_READY: gst_ladspa_activate(ladspa); @@ -645,7 +645,7 @@ gst_ladspa_activate(GstLADSPA *ladspa) gst_ladspa_deactivate(ladspa); } - GST_DEBUG (0, "activating\n"); + GST_DEBUG (0, "activating"); /* activate the plugin (function might be null) */ if (desc->activate != NULL) { @@ -661,7 +661,7 @@ gst_ladspa_deactivate(GstLADSPA *ladspa) LADSPA_Descriptor *desc; desc = ladspa->descriptor; - GST_DEBUG (0, "deactivating\n"); + GST_DEBUG (0, "deactivating"); /* deactivate the plugin (function might be null) */ if (ladspa->activated && (desc->deactivate != NULL)) { @@ -703,7 +703,7 @@ gst_ladspa_loop (GstElement *element) /* first get all the necessary data from the input ports */ for (i=0;i<oclass->numsinkpads;i++){ - GST_DEBUG (0, "pulling %d bytes through channel %d's bytestream\n", i); + GST_DEBUG (0, "pulling %d bytes through channel %d's bytestream", i); raw_in = gst_bytestream_peek_bytes (ladspa->bytestreams[i], ladspa->buffersize * sizeof (LADSPA_Data)); if (raw_in == NULL) { @@ -715,7 +715,7 @@ gst_ladspa_loop (GstElement *element) /* if we get an EOS event from one of our sink pads, we assume that pad's finished handling data. delete the bytestream, free up the pad, and free up the memory associated with the input channel. */ - GST_DEBUG (0, "got an EOS event on sinkpad %d\n", i); + GST_DEBUG (0, "got an EOS event on sinkpad %d", i); } /* we need to create some zeroed out data to feed to this port of the @@ -761,7 +761,7 @@ gst_ladspa_loop (GstElement *element) desc->connect_port (ladspa->handle, oclass->sinkpad_portnums[i], NULL); } for (i=0;i<oclass->numsrcpads;i++) { - GST_DEBUG (0, "pushing buffer (%p) on src pad %d\n", buffers_out[i], i); + GST_DEBUG (0, "pushing buffer (%p) on src pad %d", buffers_out[i], i); gst_pad_push (ladspa->srcpads[i], buffers_out[i]); buffers_out[i] = NULL; desc->connect_port (ladspa->handle, oclass->srcpad_portnums[i], NULL); diff --git a/ext/mikmod/gstmikmod.c b/ext/mikmod/gstmikmod.c index ce83bf97..801c8164 100644 --- a/ext/mikmod/gstmikmod.c +++ b/ext/mikmod/gstmikmod.c @@ -434,7 +434,7 @@ GstMikMod *mikmod; mikmod = GST_MIKMOD (element); - GST_DEBUG (0,"state pending %d\n", GST_STATE_PENDING (element)); + GST_DEBUG (0,"state pending %d", GST_STATE_PENDING (element)); /* if going down into NULL state, close the file if it's open */ if (GST_STATE_PENDING (element) == GST_STATE_READY) |