diff options
author | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:05 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:05 +0000 |
commit | d6258153e0aa7d3fe89a31acd3e57b9c13de4464 (patch) | |
tree | 92fd06f31c13bf0eee35395bfcef45ba6166c0d8 /gst/wavparse | |
parent | 0f1d7549324aa62357580b1b35e61bec6b6482ab (diff) |
removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
Diffstat (limited to 'gst/wavparse')
-rw-r--r-- | gst/wavparse/Makefile.am | 2 | ||||
-rw-r--r-- | gst/wavparse/gstriff.c | 8 | ||||
-rw-r--r-- | gst/wavparse/gstwavparse.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/gst/wavparse/Makefile.am b/gst/wavparse/Makefile.am index e6cfe880..060a2133 100644 --- a/gst/wavparse/Makefile.am +++ b/gst/wavparse/Makefile.am @@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstwavparse.la libgstwavparse_la_SOURCES = gstwavparse.c gstriff.c libgstwavparse_la_CFLAGS = $(GST_CFLAGS) -libgstwavparse_la_LIBADD = $(GST_LIBS) +libgstwavparse_la_LIBADD = libgstwavparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = gstwavparse.h gstriff.h diff --git a/gst/wavparse/gstriff.c b/gst/wavparse/gstriff.c index d343568c..2e511cc0 100644 --- a/gst/wavparse/gstriff.c +++ b/gst/wavparse/gstriff.c @@ -56,7 +56,7 @@ gint gst_riff_next_buffer(GstRiff *riff,GstBuffer *buf,gulong off) { return riff->state; } riff->form = words[2]; -// g_print("form is 0x%08x '%s'\n",words[2],gst_riff_id_to_fourcc(words[2])); +/* g_print("form is 0x%08x '%s'\n",words[2],gst_riff_id_to_fourcc(words[2])); */ riff->nextlikely = 12; /* skip 'RIFF', length, and form */ } @@ -64,14 +64,14 @@ gint gst_riff_next_buffer(GstRiff *riff,GstBuffer *buf,gulong off) { while ((riff->nextlikely+8) < last) { gulong *words = (gulong *)((guchar *)GST_BUFFER_DATA(buf) + riff->nextlikely); -// g_print("next likely chunk is at offset 0x%08x\n",riff->nextlikely); +/* g_print("next likely chunk is at offset 0x%08x\n",riff->nextlikely); */ chunk = (GstRiffChunk *)malloc(sizeof(GstRiffChunk)); g_return_val_if_fail(chunk != NULL,0); chunk->offset = riff->nextlikely+8; /* point to the actual data */ chunk->id = words[0]; chunk->size = words[1]; -// g_print("chunk id is 0x%08x '%s' and is 0x%08x long\n",words[0], -// gst_riff_id_to_fourcc(words[0]),words[1]); +/* g_print("chunk id is 0x%08x '%s' and is 0x%08x long\n",words[0], */ +/* gst_riff_id_to_fourcc(words[0]),words[1]); */ riff->nextlikely += 8 + chunk->size; /* doesn't include hdr */ riff->chunks = g_list_prepend(riff->chunks,chunk); } diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 27ec497a..48cef707 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -97,7 +97,7 @@ enum { }; static GstElementClass *parent_class = NULL; -//static guint gst_wavparse_signals[LAST_SIGNAL] = { 0 }; +/*static guint gst_wavparse_signals[LAST_SIGNAL] = { 0 }; */ GType gst_wavparse_get_type (void) @@ -262,9 +262,9 @@ gst_wavparse_chain (GstPad *pad, GstBuffer *buf) "parsewav_src", "audio/raw", "format", GST_PROPS_STRING ("int"), - "law", GST_PROPS_INT (0), //FIXME + "law", GST_PROPS_INT (0), /*FIXME */ "endianness", GST_PROPS_INT (G_BYTE_ORDER), - "signed", GST_PROPS_BOOLEAN (TRUE), //FIXME + "signed", GST_PROPS_BOOLEAN (TRUE), /*FIXME */ "width", GST_PROPS_INT (format->wBitsPerSample), "depth", GST_PROPS_INT (format->wBitsPerSample), "rate", GST_PROPS_INT (format->dwSamplesPerSec), |