summaryrefslogtreecommitdiffstats
path: root/gst/smoothwave
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-24 22:07:03 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-24 22:07:03 +0000
commit1d6862cb69701e14c6c01e3bdf6f7a165271f3d3 (patch)
tree2ae8d3322edae3bd3f4d7d7c159c6fbd2c32d55c /gst/smoothwave
parent0cc78c5ef82a4d0ba9d9560e8afff292d99e1088 (diff)
downloadgst-plugins-bad-1d6862cb69701e14c6c01e3bdf6f7a165271f3d3.tar.gz
gst-plugins-bad-1d6862cb69701e14c6c01e3bdf6f7a165271f3d3.tar.bz2
gst-plugins-bad-1d6862cb69701e14c6c01e3bdf6f7a165271f3d3.zip
filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS: * filter newlines out of GST_DEBUG statements to reflect new core behavior * fixes to adder's caps, again
Diffstat (limited to 'gst/smoothwave')
-rw-r--r--gst/smoothwave/gstsmoothwave.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gst/smoothwave/gstsmoothwave.c b/gst/smoothwave/gstsmoothwave.c
index 4fa855a4..48d32c4b 100644
--- a/gst/smoothwave/gstsmoothwave.c
+++ b/gst/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,