summaryrefslogtreecommitdiffstats
path: root/gst/monoscope/gstmonoscope.c
diff options
context:
space:
mode:
authorRichard Boulton <richard@tartarus.org>2002-03-08 16:59:38 +0000
committerRichard Boulton <richard@tartarus.org>2002-03-08 16:59:38 +0000
commitf1a8a9c5024c231db70693657777d290837eb987 (patch)
treec68019cf77ebfeb0e97644292dda7fe62bffdbe5 /gst/monoscope/gstmonoscope.c
parent31b3a71dc8ce8f38b4e7a51ccb6cb1dbfc3a75b6 (diff)
Fix several C++ style comments.
Original commit message from CVS: Fix several C++ style comments.
Diffstat (limited to 'gst/monoscope/gstmonoscope.c')
-rw-r--r--gst/monoscope/gstmonoscope.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c
index 04209a0f..2b5a33fb 100644
--- a/gst/monoscope/gstmonoscope.c
+++ b/gst/monoscope/gstmonoscope.c
@@ -38,17 +38,17 @@ struct _GstMonoscope {
GstPad *sinkpad,*srcpad;
GstBufferPool *peerpool;
- // the timestamp of the next frame
+ /* the timestamp of the next frame */
guint64 next_time;
gint16 datain[512];
- // video state
+ /* video state */
gint fps;
gint width;
gint height;
gboolean first_buffer;
- // visualisation state
+ /* visualisation state */
struct monoscope_state * visstate;
};
@@ -201,11 +201,11 @@ gst_monoscope_init (GstMonoscope *monoscope)
monoscope->next_time = 0;
monoscope->peerpool = NULL;
- // reset the initial video state
+ /* reset the initial video state */
monoscope->first_buffer = TRUE;
monoscope->width = 256;
monoscope->height = 128;
- monoscope->fps = 25; // desired frame rate
+ monoscope->fps = 25; /* desired frame rate */
}
@@ -247,7 +247,7 @@ gst_monoscope_chain (GstPad *pad, GstBuffer *bufin)
}
data = (gint16 *) GST_BUFFER_DATA (bufin);
- // FIXME: get rid of this: waste of effort.
+ /* FIXME: Select samples in a better way. */
for (i=0; i < 512; i++) {
monoscope->datain[i] = *data++;
}