diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/artsd/gstartsdsink.c | 6 | ||||
-rw-r--r-- | ext/audiofile/gstafsink.c | 6 | ||||
-rw-r--r-- | ext/gsm/gstgsmdec.c | 2 | ||||
-rw-r--r-- | ext/hermes/yuv2rgb.c | 14 | ||||
-rw-r--r-- | ext/ladspa/gstladspa.c | 28 | ||||
-rw-r--r-- | ext/sdl/sdlvideosink.c | 4 | ||||
-rw-r--r-- | ext/shout/gstshout.c | 2 | ||||
-rw-r--r-- | ext/smoothwave/gstsmoothwave.c | 12 |
8 files changed, 37 insertions, 37 deletions
diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c index 74daf860..37e6989d 100644 --- a/ext/artsd/gstartsdsink.c +++ b/ext/artsd/gstartsdsink.c @@ -232,7 +232,7 @@ gst_artsdsink_chain (GstPad *pad, GstBuffer *buf) int bytes; void * bufptr = GST_BUFFER_DATA (buf); int bufsize = GST_BUFFER_SIZE (buf); - GST_DEBUG (0, "artsdsink: stream=%p data=%p size=%d\n", + GST_DEBUG (0, "artsdsink: stream=%p data=%p size=%d", artsdsink->stream, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf)); do { @@ -359,11 +359,11 @@ gst_artsdsink_open_audio (GstArtsdsink *sink) return FALSE; } - GST_DEBUG (0, "artsdsink: attempting to open connection to aRtsd server\n"); + GST_DEBUG (0, "artsdsink: attempting to open connection to aRtsd server"); sink->stream = arts_play_stream(sink->frequency, sink->depth, sink->channels, connname); /* FIXME: check connection */ - /* GST_DEBUG (0, "artsdsink: can't open connection to aRtsd server\n"); */ + /* GST_DEBUG (0, "artsdsink: can't open connection to aRtsd server"); */ GST_FLAG_SET (sink, GST_ARTSDSINK_OPEN); sink->connected = TRUE; diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index 24abae50..7a3fa571 100644 --- a/ext/audiofile/gstafsink.c +++ b/ext/audiofile/gstafsink.c @@ -317,10 +317,10 @@ gst_afsink_open_file (GstAFSink *sink) sink->is_signed = gst_caps_get_int (caps, "signed"); sink->endianness_data = gst_caps_get_int (caps, "endianness"); } - GST_DEBUG (GST_CAT_PLUGIN_INFO, "channels %d, width %d, rate %d, signed %s\n", + GST_DEBUG (GST_CAT_PLUGIN_INFO, "channels %d, width %d, rate %d, signed %s", sink->channels, sink->width, sink->rate, sink->is_signed ? "yes" : "no"); - GST_DEBUG (GST_CAT_PLUGIN_INFO, "endianness: data %d, output %d\n", + GST_DEBUG (GST_CAT_PLUGIN_INFO, "endianness: data %d, output %d", sink->endianness_data, sink->endianness_output); /* setup the output file */ if (sink->is_signed) @@ -486,7 +486,7 @@ gst_afsink_handle_event (GstPad *pad, GstEvent *event) GstAFSink *afsink; afsink = GST_AFSINK (gst_pad_get_parent (pad)); - GST_DEBUG (0, "DEBUG: afsink: got event\n"); + GST_DEBUG (0, "DEBUG: afsink: got event"); gst_afsink_close_file (afsink); GST_FLAG_SET (pad, GST_PAD_EOS); diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c index 8d6ca6a0..1da43975 100644 --- a/ext/gsm/gstgsmdec.c +++ b/ext/gsm/gstgsmdec.c @@ -87,7 +87,7 @@ gst_gsmdec_class_init (GstGSMDec *klass) static void gst_gsmdec_init (GstGSMDec *gsmdec) { - GST_DEBUG (0,"gst_gsmdec_init: initializing\n"); + GST_DEBUG (0,"gst_gsmdec_init: initializing"); /* create the sink and src pads */ gsmdec->sinkpad = gst_pad_new_from_template (gsmdec_sink_template, "sink"); diff --git a/ext/hermes/yuv2rgb.c b/ext/hermes/yuv2rgb.c index 0b749d7c..24afe9ac 100644 --- a/ext/hermes/yuv2rgb.c +++ b/ext/hermes/yuv2rgb.c @@ -104,7 +104,7 @@ gst_colorspace_yuv2rgb_get_converter (GstCaps *from, GstCaps *to) GstColorSpaceConverter *new; gint to_bpp; - GST_DEBUG (0,"gst_colorspace_yuv2rgb_get_converter\n"); + GST_DEBUG (0,"gst_colorspace_yuv2rgb_get_converter"); new = g_malloc (sizeof (GstColorSpaceConverter)); @@ -181,7 +181,7 @@ gst_colorspace_yuv2rgb_get_converter (GstCaps *from, GstCaps *to) static void gst_colorspace_yuv420P_to_rgb32(GstColorSpaceConverter *space, unsigned char *src, unsigned char *dest) { int size; - GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb32\n"); + GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb32"); size = space->width * space->height; @@ -197,7 +197,7 @@ static void gst_colorspace_yuv420P_to_rgb32(GstColorSpaceConverter *space, unsig static void gst_colorspace_yuv420P_to_rgb24(GstColorSpaceConverter *space, unsigned char *src, unsigned char *dest) { int size; - GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb24\n"); + GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb24"); size = space->width * space->height; @@ -213,7 +213,7 @@ static void gst_colorspace_yuv420P_to_rgb24(GstColorSpaceConverter *space, unsig static void gst_colorspace_yuv420P_to_rgb16(GstColorSpaceConverter *space, unsigned char *src, unsigned char *dest) { int size; - GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb16\n"); + GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb16"); size = space->width * space->height; @@ -230,7 +230,7 @@ static void gst_colorspace_yuv420P_to_rgb16(GstColorSpaceConverter *space, unsig #ifdef HAVE_LIBMMX static void gst_colorspace_yuv420P_to_bgr32_mmx(GstColorSpaceConverter *space, unsigned char *src, unsigned char *dest) { int size; - GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb32_mmx\n"); + GST_DEBUG (0,"gst_colorspace_yuv420P_to_rgb32_mmx"); size = space->width * space->height; @@ -245,7 +245,7 @@ static void gst_colorspace_yuv420P_to_bgr32_mmx(GstColorSpaceConverter *space, u } static void gst_colorspace_yuv420P_to_bgr16_mmx(GstColorSpaceConverter *space, unsigned char *src, unsigned char *dest) { int size; - GST_DEBUG (0,"gst_colorspace_yuv420P_to_bgr16_mmx \n"); + GST_DEBUG (0,"gst_colorspace_yuv420P_to_bgr16_mmx "); size = space->width * space->height; @@ -256,7 +256,7 @@ static void gst_colorspace_yuv420P_to_bgr16_mmx(GstColorSpaceConverter *space, u dest, space->height, space->width); - GST_DEBUG (0,"gst_colorspace_yuv420P_to_bgr16_mmx done\n"); + GST_DEBUG (0,"gst_colorspace_yuv420P_to_bgr16_mmx done"); } #endif 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/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 066574f6..ab22310d 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -341,7 +341,7 @@ gst_sdlvideosink_create (GstSDLVideoSink *sdlvideosink, gboolean showlogo) else SDL_DisplayYUVOverlay(sdlvideosink->yuv_overlay, &(sdlvideosink->rect)); - GST_DEBUG (0, "sdlvideosink: setting %08lx (%4.4s)\n", sdlvideosink->format, (gchar*)&print_format); + GST_DEBUG (0, "sdlvideosink: setting %08lx (%4.4s)", sdlvideosink->format, (gchar*)&print_format); /* TODO: is this the width of the input image stream or of the widget? */ g_signal_emit (G_OBJECT (sdlvideosink), gst_sdlvideosink_signals[SIGNAL_HAVE_SIZE], 0, @@ -404,7 +404,7 @@ gst_sdlvideosink_chain (GstPad *pad, GstBuffer *buf) sdlvideosink = GST_SDLVIDEOSINK (gst_pad_get_parent (pad)); - GST_DEBUG (0,"videosink: clock wait: %llu\n", GST_BUFFER_TIMESTAMP(buf)); + GST_DEBUG (0,"videosink: clock wait: %llu", GST_BUFFER_TIMESTAMP(buf)); while (SDL_PollEvent(&event)) { diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c index 0d49a84b..0ff98332 100644 --- a/ext/shout/gstshout.c +++ b/ext/shout/gstshout.c @@ -398,7 +398,7 @@ gst_icecastsend_change_state (GstElement *element) icecastsend = GST_ICECASTSEND(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 */ switch (GST_STATE_TRANSITION (element)) { diff --git a/ext/smoothwave/gstsmoothwave.c b/ext/smoothwave/gstsmoothwave.c index 4fa855a4..48d32c4b 100644 --- a/ext/smoothwave/gstsmoothwave.c +++ b/ext/smoothwave/gstsmoothwave.c @@ -124,12 +124,12 @@ gst_smoothwave_init (GstSmoothWave *smoothwave) /* gtk_widget_set_default_colormap (gdk_rgb_get_cmap()); */ /* gtk_widget_set_default_visual (gdk_rgb_get_visual()); */ -/* GST_DEBUG (0,"creating palette\n"); */ +/* GST_DEBUG (0,"creating palette"); */ for (i=0;i<256;i++) palette[i] = (i << 16) || (i << 8); -/* GST_DEBUG (0,"creating cmap\n"); */ +/* GST_DEBUG (0,"creating cmap"); */ smoothwave->cmap = gdk_rgb_cmap_new(palette,256); -/* GST_DEBUG (0,"created cmap\n"); */ +/* GST_DEBUG (0,"created cmap"); */ /* gtk_widget_set_default_colormap (smoothwave->cmap); */ smoothwave->image = gtk_drawing_area_new(); @@ -175,7 +175,7 @@ gst_smoothwave_chain (GstPad *pad, GstBuffer *buf) qheight = smoothwave->height/4; -/* GST_DEBUG (0,"traversing %d\n",smoothwave->width); */ +/* GST_DEBUG (0,"traversing %d",smoothwave->width); */ for (i=0;i<MAX(smoothwave->width,samplecount);i++) { gint16 y1 = (gint32)(samples[i*2] * qheight) / 32768 + qheight; @@ -194,8 +194,8 @@ gst_smoothwave_chain (GstPad *pad, GstBuffer *buf) ptr++; } -/* GST_DEBUG (0,"drawing\n"); */ -/* GST_DEBUG (0,"gdk_draw_indexed_image(%p,%p,%d,%d,%d,%d,%s,%p,%d,%p);\n", +/* GST_DEBUG (0,"drawing"); */ +/* GST_DEBUG (0,"gdk_draw_indexed_image(%p,%p,%d,%d,%d,%d,%s,%p,%d,%p);", smoothwave->image->window, smoothwave->image->style->fg_gc[GTK_STATE_NORMAL], 0,0,smoothwave->width,smoothwave->height, |