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/cutter | |
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/cutter')
-rw-r--r-- | gst/cutter/Makefile.am | 2 | ||||
-rw-r--r-- | gst/cutter/gstcutter.c | 16 | ||||
-rw-r--r-- | gst/cutter/gstcutter.h | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/gst/cutter/Makefile.am b/gst/cutter/Makefile.am index aca53d44..45847719 100644 --- a/gst/cutter/Makefile.am +++ b/gst/cutter/Makefile.am @@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstcutter.la libgstcutter_la_SOURCES = gstcutter.c libgstcutter_la_CFLAGS = $(GST_CFLAGS) -libgstcutter_la_LIBADD = $(GST_LIBS) +libgstcutter_la_LIBADD = libgstcutter_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = gstcutter.h filter.func diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c index e14da5fe..38e93030 100644 --- a/gst/cutter/gstcutter.c +++ b/gst/cutter/gstcutter.c @@ -120,17 +120,17 @@ gst_cutter_class_init (GstCutterClass *klass) g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_THRESHOLD, g_param_spec_double ("threshold", "threshold", "threshold", - -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); // CHECKME + -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); /* CHECKME */ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_THRESHOLD_DB, g_param_spec_double ("threshold_dB", "threshold_dB", "threshold_dB", - -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); // CHECKME + -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); /* CHECKME */ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_RUN_LENGTH, g_param_spec_double ("runlength", "runlength", "runlength", - -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); // CHECKME + -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); /* CHECKME */ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PRE_LENGTH, g_param_spec_double ("prelength", "prelength", "prelength", - -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); // CHECKME + -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); /* CHECKME */ gst_cutter_signals[CUT_START] = g_signal_new ("cut_start", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GstCutterClass, cut_start), NULL, NULL, @@ -214,7 +214,7 @@ gst_cutter_chain (GstPad *pad, GstBuffer *buf) /* if RMS below threshold, add buffer length to silent run length count * if not, reset */ - //g_print ("DEBUG: cutter: ms %f, RMS %f\n", ms, RMS); + /*g_print ("DEBUG: cutter: ms %f, RMS %f\n", ms, RMS); */ if (RMS < filter->threshold_level) filter->silent_run_length += gst_audio_length (filter->srcpad, buf); else @@ -234,12 +234,12 @@ gst_cutter_chain (GstPad *pad, GstBuffer *buf) { if (filter->silent) { -// g_print ("DEBUG: cutter: cut to here, turning off out\n"); +/* g_print ("DEBUG: cutter: cut to here, turning off out\n"); */ gtk_signal_emit (G_OBJECT (filter), gst_cutter_signals[CUT_STOP]); } else { -// g_print ("DEBUG: cutter: start from here, turning on out\n"); +/* g_print ("DEBUG: cutter: start from here, turning on out\n"); */ /* first of all, flush current buffer */ gtk_signal_emit (G_OBJECT (filter), gst_cutter_signals[CUT_START]); g_print ("DEBUG: cutter: flushing buffer "); @@ -386,7 +386,7 @@ gst_cutter_get_caps (GstPad *pad, GstCutter* filter) GstCaps *caps = NULL; caps = GST_PAD_CAPS (pad); - // FIXME : Please change this to a better warning method ! + /* FIXME : Please change this to a better warning method ! */ if (caps == NULL) printf ("WARNING: cutter: get_caps: Could not get caps of pad !\n"); filter->width = gst_caps_get_int (caps, "width"); diff --git a/gst/cutter/gstcutter.h b/gst/cutter/gstcutter.h index 18de8787..693d9aeb 100644 --- a/gst/cutter/gstcutter.h +++ b/gst/cutter/gstcutter.h @@ -24,7 +24,7 @@ #include <config.h> #include <gst/gst.h> -// #include <gst/meta/audioraw.h> +/* #include <gst/meta/audioraw.h> */ #ifdef __cplusplus |