From 5cb910050ad39a115dec5f527e10abfda6c7fcf6 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 15 Oct 2005 15:53:59 +0000 Subject: [PATCH] whitespace fixes Original commit message from CVS: whitespace fixes --- check/gst/gstbin.c | 8 ++++---- check/gst/gstcaps.c | 10 +++++----- check/gst/gstvalue.c | 12 ++++++------ examples/appreader/appreader.c | 2 +- examples/controller/audio-example.c | 2 +- examples/cutter/cutter.c | 4 ++-- examples/cutter/cutter.h | 4 ++-- examples/mixer/mixer.c | 12 ++++++------ examples/mixer/mixer.h | 4 ++-- examples/retag/retag.c | 6 +++--- examples/retag/transcode.c | 6 +++--- libs/gst/controller/gstcontroller.c | 10 +++++----- libs/gst/controller/gstcontroller.h | 4 ++-- libs/gst/controller/gsthelper.c | 4 ++-- tests/check/gst/gstbin.c | 8 ++++---- tests/check/gst/gstcaps.c | 10 +++++----- tests/check/gst/gstvalue.c | 12 ++++++------ tests/old/examples/appreader/appreader.c | 2 +- tests/old/examples/controller/audio-example.c | 2 +- tests/old/examples/cutter/cutter.c | 4 ++-- tests/old/examples/cutter/cutter.h | 4 ++-- tests/old/examples/mixer/mixer.c | 12 ++++++------ tests/old/examples/mixer/mixer.h | 4 ++-- tests/old/examples/retag/retag.c | 6 +++--- tests/old/examples/retag/transcode.c | 6 +++--- win32/common/gstconfig.h | 12 ++++++------ win32/common/gstversion.h | 2 +- win32/dirent.c | 6 +++--- win32/gstconfig.h | 2 +- win32/gstversion.h | 2 +- win32/gtchar.h | 6 +++--- win32/mman.h | 2 +- win32/vs7/mman.h | 2 +- 33 files changed, 96 insertions(+), 96 deletions(-) diff --git a/check/gst/gstbin.c b/check/gst/gstbin.c index b0c68bd..41fb65f 100644 --- a/check/gst/gstbin.c +++ b/check/gst/gstbin.c @@ -519,13 +519,13 @@ GST_START_TEST (test_children_state_change_order_flagged_sink) ASSERT_STATE_CHANGE_MSG (bus, pipeline, GST_STATE_NULL, GST_STATE_READY, 104); /* READY => PAUSED */ - /* because of pre-rolling, sink will return ASYNC on state + /* because of pre-rolling, sink will return ASYNC on state * change and change state later when it has a buffer */ ASSERT_STATE_CHANGE_MSG (bus, identity, GST_STATE_READY, GST_STATE_PAUSED, 105); #if 0 /* From here on, all bets are off. Usually the source changes state next, - * but it might just as well be that the first buffer produced by the + * but it might just as well be that the first buffer produced by the * source reaches the sink before the source has finished its state change, * in which case the sink will commit its new state before the source ... */ ASSERT_STATE_CHANGE_MSG (bus, src, GST_STATE_READY, GST_STATE_PAUSED, 106); @@ -620,13 +620,13 @@ GST_START_TEST (test_children_state_change_order_semi_sink) ASSERT_STATE_CHANGE_MSG (bus, pipeline, GST_STATE_NULL, GST_STATE_READY, 204); /* READY => PAUSED */ - /* because of pre-rolling, sink will return ASYNC on state + /* because of pre-rolling, sink will return ASYNC on state * change and change state later when it has a buffer */ ASSERT_STATE_CHANGE_MSG (bus, identity, GST_STATE_READY, GST_STATE_PAUSED, 205); #if 0 /* From here on, all bets are off. Usually the source changes state next, - * but it might just as well be that the first buffer produced by the + * but it might just as well be that the first buffer produced by the * source reaches the sink before the source has finished its state change, * in which case the sink will commit its new state before the source ... */ ASSERT_STATE_CHANGE_MSG (bus, src, GST_STATE_READY, GST_STATE_PAUSED, 206); diff --git a/check/gst/gstcaps.c b/check/gst/gstcaps.c index 4579f45..1df100b 100644 --- a/check/gst/gstcaps.c +++ b/check/gst/gstcaps.c @@ -192,11 +192,11 @@ GST_START_TEST (test_simplify) /* check simplified caps, should be: * - * video/x-raw-rgb, bpp=(int)8, depth=(int)8, endianness=(int)1234, - * framerate=(double)[ 1, 100 ], width=(int)[ 16, 4096 ], - * height=(int)[ 16, 4096 ]; - * video/x-raw-yuv, format=(fourcc){ YV12, YUY2, I420 }, - * width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], + * video/x-raw-rgb, bpp=(int)8, depth=(int)8, endianness=(int)1234, + * framerate=(double)[ 1, 100 ], width=(int)[ 16, 4096 ], + * height=(int)[ 16, 4096 ]; + * video/x-raw-yuv, format=(fourcc){ YV12, YUY2, I420 }, + * width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], * framerate=(double)[ 1, 100 ] */ fail_unless (gst_caps_get_size (caps) == 2); diff --git a/check/gst/gstvalue.c b/check/gst/gstvalue.c index 4425cd3..9e109e8 100644 --- a/check/gst/gstvalue.c +++ b/check/gst/gstvalue.c @@ -445,7 +445,7 @@ GST_START_TEST (test_value_subtract_int) const GValue *tmp; gboolean ret; - /* int <-> int + /* int <-> int */ g_value_init (&src1, G_TYPE_INT); g_value_set_int (&src1, 10); @@ -463,7 +463,7 @@ GST_START_TEST (test_value_subtract_int) g_value_unset (&src1); g_value_unset (&src2); - /* int <-> int_range + /* int <-> int_range */ /* would yield an empty set */ @@ -547,7 +547,7 @@ GST_START_TEST (test_value_subtract_int) g_value_unset (&src1); g_value_unset (&src2); - /* int_range <-> int_range + /* int_range <-> int_range */ /* same range, empty set */ @@ -720,7 +720,7 @@ GST_START_TEST (test_value_subtract_double) const GValue *tmp; gboolean ret; - /* double <-> double + /* double <-> double */ g_value_init (&src1, G_TYPE_DOUBLE); g_value_set_double (&src1, 10.0); @@ -738,7 +738,7 @@ GST_START_TEST (test_value_subtract_double) g_value_unset (&src1); g_value_unset (&src2); - /* double <-> double_range + /* double <-> double_range */ /* would yield an empty set */ @@ -819,7 +819,7 @@ GST_START_TEST (test_value_subtract_double) g_value_unset (&src1); g_value_unset (&src2); - /* double_range <-> double_range + /* double_range <-> double_range */ /* same range, empty set */ diff --git a/examples/appreader/appreader.c b/examples/appreader/appreader.c index a1ad13f..730d547 100644 --- a/examples/appreader/appreader.c +++ b/examples/appreader/appreader.c @@ -22,7 +22,7 @@ static void fill_queue (GstElement * queue, gint level, GstBin * pipeline) { - /* this needs to iterate till something is pushed + /* this needs to iterate till something is pushed * in the queue */ gst_bin_iterate (pipeline); } diff --git a/examples/controller/audio-example.c b/examples/controller/audio-example.c index 6081dbc..6d6d3d1 100644 --- a/examples/controller/audio-example.c +++ b/examples/controller/audio-example.c @@ -1,6 +1,6 @@ /* * audio-example.c - * + * * Build a pipeline with testaudiosource->alsasink * and sweep frequency and volume * diff --git a/examples/cutter/cutter.c b/examples/cutter/cutter.c index 92ce01c..aa98167 100644 --- a/examples/cutter/cutter.c +++ b/examples/cutter/cutter.c @@ -1,6 +1,6 @@ /* * cutter.c - cut audio into pieces based on silence - thomas@apestaart.org - * + * * construct a simple pipeline osssrc ! cutter ! filesink * pause when necessary, change output * @@ -111,7 +111,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); /* - if (argc == 1) + if (argc == 1) { g_print("usage: %s <...>\n", argv[0]); exit(-1); diff --git a/examples/cutter/cutter.h b/examples/cutter/cutter.h index 15182d0..d3ac594 100644 --- a/examples/cutter/cutter.h +++ b/examples/cutter/cutter.h @@ -3,12 +3,12 @@ * thomas@apestaart.org */ -typedef struct +typedef struct { GstElement *pipe; GstElement *filesink; GstElement *audiosink; - + char *location; int channel_id; } output_channel_t; diff --git a/examples/mixer/mixer.c b/examples/mixer/mixer.c index 0efc4e0..aebb0cb 100644 --- a/examples/mixer/mixer.c +++ b/examples/mixer/mixer.c @@ -1,15 +1,15 @@ /* * mixer.c - stereo audio mixer - thomas@apestaart.org * example based on helloworld - * demonstrates the adder plugin and the volume envelope plugin - * work in progress but do try it out - * + * demonstrates the adder plugin and the volume envelope plugin + * work in progress but do try it out + * * Latest change : 28/08/2001 * trying to adapt to incsched * delayed start for channels > 1 * now works by quickhacking the * adder plugin to set - * GST_ELEMENT_COTHREAD_STOPPING + * GST_ELEMENT_COTHREAD_STOPPING * Version : 0.5.1 */ @@ -150,7 +150,7 @@ main (int argc, char *argv[]) /* register a volume envelope */ printf ("\tregistering volume envelope...\n"); - /* + /* * this is the volenv : * each song gets a slot of 5 seconds, with a 5 second fadeout * at the end of that, all audio streams play simultaneously @@ -372,7 +372,7 @@ create_input_channel (int id, char *location) void destroy_input_channel (input_channel_t * channel) { - /* + /* * destroy an input channel */ diff --git a/examples/mixer/mixer.h b/examples/mixer/mixer.h index 4cae18e..76e55f6 100644 --- a/examples/mixer/mixer.h +++ b/examples/mixer/mixer.h @@ -3,10 +3,10 @@ * thomas@apestaart.org */ -typedef struct +typedef struct { GstElement *pipe, *filesrc, *volenv; - + char *location; int channel_id; } input_channel_t; diff --git a/examples/retag/retag.c b/examples/retag/retag.c index 72361d5..668da88 100644 --- a/examples/retag/retag.c +++ b/examples/retag/retag.c @@ -1,9 +1,9 @@ -/* +/* * This example shows how to use interfaces and the tag subsystem. * It takes an mp3 file as input, and makes an ogg file out of it. While doing * this, it parses the filename and sets artist and title in the ogg file. * It assumes the filename to be " - .mp3" - * + * * Run the program as "retag <mp3 file>" * * To run this program, you need to have the gst-plugins package (specifically @@ -71,7 +71,7 @@ main (int argc, char *argv[]) g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL); g_object_set (G_OBJECT (filesink), "location", filename, NULL); - /* make sure the tag setter uses our stuff + /* make sure the tag setter uses our stuff (though that should already be default) */ gst_tag_setter_set_merge_mode (GST_TAG_SETTER (tag_changer), GST_TAG_MERGE_KEEP); diff --git a/examples/retag/transcode.c b/examples/retag/transcode.c index 0913d91..e818b89 100644 --- a/examples/retag/transcode.c +++ b/examples/retag/transcode.c @@ -1,9 +1,9 @@ -/* +/* * This example shows how to use interfaces and the tag subsystem. * It takes an mp3 file as input, and makes an ogg file out of it. While doing * this, it parses the filename and sets artist and title in the ogg file. * It assumes the filename to be "<artist> - <title>.mp3" - * + * * Run the program as "transcode <mp3 file>" * * To run this program, you need to have the gst-plugins package (specifically @@ -80,7 +80,7 @@ main (int argc, char *argv[]) g_object_set (G_OBJECT (filesink), "location", filename, NULL); g_free (filename); - /* make sure the tag setter uses our stuff + /* make sure the tag setter uses our stuff (though that should already be default) */ gst_tag_setter_set_merge_mode (GST_TAG_SETTER (encoder), GST_TAG_MERGE_KEEP); /* set the tagging information */ diff --git a/libs/gst/controller/gstcontroller.c b/libs/gst/controller/gstcontroller.c index bf16ed3..a5b5fad 100644 --- a/libs/gst/controller/gstcontroller.c +++ b/libs/gst/controller/gstcontroller.c @@ -319,7 +319,7 @@ gst_controlled_property_new (GObject * object, const gchar * name) * first timestamp is at 5 * requested value if for timestamp=3 * LINEAR and Co. would need to interpolate from default value to value - * at timestamp 5 + * at timestamp 5 */ signal_name = g_alloca (8 + 1 + strlen (name)); g_sprintf (signal_name, "notify::%s", name); @@ -787,7 +787,7 @@ gst_controller_get (GstController * self, gchar * property_name, * gst_controller_get_all: * @self: the controller to get the list from * @property_name: the name of the property to get the list for - * + * * Returns a read-only copy of the list of GstTimedValue for the given property. * Free the list after done with it. * @@ -871,7 +871,7 @@ gst_controller_sync_values (GstController * self, GstClockTime timestamp) } } g_mutex_unlock (self->lock); - /* TODO what can here go wrong, to return FALSE ? + /* TODO what can here go wrong, to return FALSE ? BilboEd : Nothing I guess, as long as all the checks are made when creating the controller, adding/removing controlled properties, etc... */ @@ -888,7 +888,7 @@ gst_controller_sync_values (GstController * self, GstClockTime timestamp) * Function to be able to get an array of values for one or more given element * properties. * - * If the GstValueArray->values array in list nodes is NULL, it will be created + * If the GstValueArray->values array in list nodes is NULL, it will be created * by the function. * The type of the values in the array are the same as the property's type. * @@ -1065,7 +1065,7 @@ _gst_controller_class_init (GstControllerClass * klass) /* register properties */ /* register signals */ /* set defaults for overridable methods */ - /* TODO which of theses do we need ? + /* TODO which of theses do we need ? BilboEd : none :) */ } diff --git a/libs/gst/controller/gstcontroller.h b/libs/gst/controller/gstcontroller.h index b3964e5..2fa4234 100644 --- a/libs/gst/controller/gstcontroller.h +++ b/libs/gst/controller/gstcontroller.h @@ -81,7 +81,7 @@ typedef struct _GstValueArray /** * GstInterpolateMode: * @GST_INTERPOLATE_NONE: steps-like interpolation, default - * @GST_INTERPOLATE_TRIGGER: returns the default value of the property, + * @GST_INTERPOLATE_TRIGGER: returns the default value of the property, * except for times with specific values * @GST_INTERPOLATE_LINEAR: linear interpolation * @GST_INTERPOLATE_QUADRATIC: square interpolation @@ -228,7 +228,7 @@ const GList *gst_controller_get_all (GstController * self, gboolean gst_controller_sync_values (GstController * self, GstClockTime timestamp); - + gboolean gst_controller_get_value_arrays (GstController * self, GstClockTime timestamp, GSList * value_arrays); gboolean gst_controller_get_value_array (GstController * self, diff --git a/libs/gst/controller/gsthelper.c b/libs/gst/controller/gsthelper.c index 7693984..d99efc9 100644 --- a/libs/gst/controller/gsthelper.c +++ b/libs/gst/controller/gsthelper.c @@ -45,7 +45,7 @@ extern GQuark __gst_controller_key; * Convenience function for GObject * * Creates a GstController that allows you to dynamically control one, or more, GObject properties. - * If the given GObject already has a GstController, it adds the given properties to the existing + * If the given GObject already has a GstController, it adds the given properties to the existing * controller and returns that controller. * * Returns: The GstController with which the user can control the given properties dynamically or NULL if @@ -171,7 +171,7 @@ gst_object_sync_values (GObject * object, GstClockTime timestamp) * Function to be able to get an array of values for one or more given element * properties. * - * If the GstValueArray->values array in list nodes is NULL, it will be created + * If the GstValueArray->values array in list nodes is NULL, it will be created * by the function. * The type of the values in the array are the same as the property's type. * diff --git a/tests/check/gst/gstbin.c b/tests/check/gst/gstbin.c index b0c68bd..41fb65f 100644 --- a/tests/check/gst/gstbin.c +++ b/tests/check/gst/gstbin.c @@ -519,13 +519,13 @@ GST_START_TEST (test_children_state_change_order_flagged_sink) ASSERT_STATE_CHANGE_MSG (bus, pipeline, GST_STATE_NULL, GST_STATE_READY, 104); /* READY => PAUSED */ - /* because of pre-rolling, sink will return ASYNC on state + /* because of pre-rolling, sink will return ASYNC on state * change and change state later when it has a buffer */ ASSERT_STATE_CHANGE_MSG (bus, identity, GST_STATE_READY, GST_STATE_PAUSED, 105); #if 0 /* From here on, all bets are off. Usually the source changes state next, - * but it might just as well be that the first buffer produced by the + * but it might just as well be that the first buffer produced by the * source reaches the sink before the source has finished its state change, * in which case the sink will commit its new state before the source ... */ ASSERT_STATE_CHANGE_MSG (bus, src, GST_STATE_READY, GST_STATE_PAUSED, 106); @@ -620,13 +620,13 @@ GST_START_TEST (test_children_state_change_order_semi_sink) ASSERT_STATE_CHANGE_MSG (bus, pipeline, GST_STATE_NULL, GST_STATE_READY, 204); /* READY => PAUSED */ - /* because of pre-rolling, sink will return ASYNC on state + /* because of pre-rolling, sink will return ASYNC on state * change and change state later when it has a buffer */ ASSERT_STATE_CHANGE_MSG (bus, identity, GST_STATE_READY, GST_STATE_PAUSED, 205); #if 0 /* From here on, all bets are off. Usually the source changes state next, - * but it might just as well be that the first buffer produced by the + * but it might just as well be that the first buffer produced by the * source reaches the sink before the source has finished its state change, * in which case the sink will commit its new state before the source ... */ ASSERT_STATE_CHANGE_MSG (bus, src, GST_STATE_READY, GST_STATE_PAUSED, 206); diff --git a/tests/check/gst/gstcaps.c b/tests/check/gst/gstcaps.c index 4579f45..1df100b 100644 --- a/tests/check/gst/gstcaps.c +++ b/tests/check/gst/gstcaps.c @@ -192,11 +192,11 @@ GST_START_TEST (test_simplify) /* check simplified caps, should be: * - * video/x-raw-rgb, bpp=(int)8, depth=(int)8, endianness=(int)1234, - * framerate=(double)[ 1, 100 ], width=(int)[ 16, 4096 ], - * height=(int)[ 16, 4096 ]; - * video/x-raw-yuv, format=(fourcc){ YV12, YUY2, I420 }, - * width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], + * video/x-raw-rgb, bpp=(int)8, depth=(int)8, endianness=(int)1234, + * framerate=(double)[ 1, 100 ], width=(int)[ 16, 4096 ], + * height=(int)[ 16, 4096 ]; + * video/x-raw-yuv, format=(fourcc){ YV12, YUY2, I420 }, + * width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], * framerate=(double)[ 1, 100 ] */ fail_unless (gst_caps_get_size (caps) == 2); diff --git a/tests/check/gst/gstvalue.c b/tests/check/gst/gstvalue.c index 4425cd3..9e109e8 100644 --- a/tests/check/gst/gstvalue.c +++ b/tests/check/gst/gstvalue.c @@ -445,7 +445,7 @@ GST_START_TEST (test_value_subtract_int) const GValue *tmp; gboolean ret; - /* int <-> int + /* int <-> int */ g_value_init (&src1, G_TYPE_INT); g_value_set_int (&src1, 10); @@ -463,7 +463,7 @@ GST_START_TEST (test_value_subtract_int) g_value_unset (&src1); g_value_unset (&src2); - /* int <-> int_range + /* int <-> int_range */ /* would yield an empty set */ @@ -547,7 +547,7 @@ GST_START_TEST (test_value_subtract_int) g_value_unset (&src1); g_value_unset (&src2); - /* int_range <-> int_range + /* int_range <-> int_range */ /* same range, empty set */ @@ -720,7 +720,7 @@ GST_START_TEST (test_value_subtract_double) const GValue *tmp; gboolean ret; - /* double <-> double + /* double <-> double */ g_value_init (&src1, G_TYPE_DOUBLE); g_value_set_double (&src1, 10.0); @@ -738,7 +738,7 @@ GST_START_TEST (test_value_subtract_double) g_value_unset (&src1); g_value_unset (&src2); - /* double <-> double_range + /* double <-> double_range */ /* would yield an empty set */ @@ -819,7 +819,7 @@ GST_START_TEST (test_value_subtract_double) g_value_unset (&src1); g_value_unset (&src2); - /* double_range <-> double_range + /* double_range <-> double_range */ /* same range, empty set */ diff --git a/tests/old/examples/appreader/appreader.c b/tests/old/examples/appreader/appreader.c index a1ad13f..730d547 100644 --- a/tests/old/examples/appreader/appreader.c +++ b/tests/old/examples/appreader/appreader.c @@ -22,7 +22,7 @@ static void fill_queue (GstElement * queue, gint level, GstBin * pipeline) { - /* this needs to iterate till something is pushed + /* this needs to iterate till something is pushed * in the queue */ gst_bin_iterate (pipeline); } diff --git a/tests/old/examples/controller/audio-example.c b/tests/old/examples/controller/audio-example.c index 6081dbc..6d6d3d1 100644 --- a/tests/old/examples/controller/audio-example.c +++ b/tests/old/examples/controller/audio-example.c @@ -1,6 +1,6 @@ /* * audio-example.c - * + * * Build a pipeline with testaudiosource->alsasink * and sweep frequency and volume * diff --git a/tests/old/examples/cutter/cutter.c b/tests/old/examples/cutter/cutter.c index 92ce01c..aa98167 100644 --- a/tests/old/examples/cutter/cutter.c +++ b/tests/old/examples/cutter/cutter.c @@ -1,6 +1,6 @@ /* * cutter.c - cut audio into pieces based on silence - thomas@apestaart.org - * + * * construct a simple pipeline osssrc ! cutter ! filesink * pause when necessary, change output * @@ -111,7 +111,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); /* - if (argc == 1) + if (argc == 1) { g_print("usage: %s <filename1> <filename2> <...>\n", argv[0]); exit(-1); diff --git a/tests/old/examples/cutter/cutter.h b/tests/old/examples/cutter/cutter.h index 15182d0..d3ac594 100644 --- a/tests/old/examples/cutter/cutter.h +++ b/tests/old/examples/cutter/cutter.h @@ -3,12 +3,12 @@ * thomas@apestaart.org */ -typedef struct +typedef struct { GstElement *pipe; GstElement *filesink; GstElement *audiosink; - + char *location; int channel_id; } output_channel_t; diff --git a/tests/old/examples/mixer/mixer.c b/tests/old/examples/mixer/mixer.c index 0efc4e0..aebb0cb 100644 --- a/tests/old/examples/mixer/mixer.c +++ b/tests/old/examples/mixer/mixer.c @@ -1,15 +1,15 @@ /* * mixer.c - stereo audio mixer - thomas@apestaart.org * example based on helloworld - * demonstrates the adder plugin and the volume envelope plugin - * work in progress but do try it out - * + * demonstrates the adder plugin and the volume envelope plugin + * work in progress but do try it out + * * Latest change : 28/08/2001 * trying to adapt to incsched * delayed start for channels > 1 * now works by quickhacking the * adder plugin to set - * GST_ELEMENT_COTHREAD_STOPPING + * GST_ELEMENT_COTHREAD_STOPPING * Version : 0.5.1 */ @@ -150,7 +150,7 @@ main (int argc, char *argv[]) /* register a volume envelope */ printf ("\tregistering volume envelope...\n"); - /* + /* * this is the volenv : * each song gets a slot of 5 seconds, with a 5 second fadeout * at the end of that, all audio streams play simultaneously @@ -372,7 +372,7 @@ create_input_channel (int id, char *location) void destroy_input_channel (input_channel_t * channel) { - /* + /* * destroy an input channel */ diff --git a/tests/old/examples/mixer/mixer.h b/tests/old/examples/mixer/mixer.h index 4cae18e..76e55f6 100644 --- a/tests/old/examples/mixer/mixer.h +++ b/tests/old/examples/mixer/mixer.h @@ -3,10 +3,10 @@ * thomas@apestaart.org */ -typedef struct +typedef struct { GstElement *pipe, *filesrc, *volenv; - + char *location; int channel_id; } input_channel_t; diff --git a/tests/old/examples/retag/retag.c b/tests/old/examples/retag/retag.c index 72361d5..668da88 100644 --- a/tests/old/examples/retag/retag.c +++ b/tests/old/examples/retag/retag.c @@ -1,9 +1,9 @@ -/* +/* * This example shows how to use interfaces and the tag subsystem. * It takes an mp3 file as input, and makes an ogg file out of it. While doing * this, it parses the filename and sets artist and title in the ogg file. * It assumes the filename to be "<artist> - <title>.mp3" - * + * * Run the program as "retag <mp3 file>" * * To run this program, you need to have the gst-plugins package (specifically @@ -71,7 +71,7 @@ main (int argc, char *argv[]) g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL); g_object_set (G_OBJECT (filesink), "location", filename, NULL); - /* make sure the tag setter uses our stuff + /* make sure the tag setter uses our stuff (though that should already be default) */ gst_tag_setter_set_merge_mode (GST_TAG_SETTER (tag_changer), GST_TAG_MERGE_KEEP); diff --git a/tests/old/examples/retag/transcode.c b/tests/old/examples/retag/transcode.c index 0913d91..e818b89 100644 --- a/tests/old/examples/retag/transcode.c +++ b/tests/old/examples/retag/transcode.c @@ -1,9 +1,9 @@ -/* +/* * This example shows how to use interfaces and the tag subsystem. * It takes an mp3 file as input, and makes an ogg file out of it. While doing * this, it parses the filename and sets artist and title in the ogg file. * It assumes the filename to be "<artist> - <title>.mp3" - * + * * Run the program as "transcode <mp3 file>" * * To run this program, you need to have the gst-plugins package (specifically @@ -80,7 +80,7 @@ main (int argc, char *argv[]) g_object_set (G_OBJECT (filesink), "location", filename, NULL); g_free (filename); - /* make sure the tag setter uses our stuff + /* make sure the tag setter uses our stuff (though that should already be default) */ gst_tag_setter_set_merge_mode (GST_TAG_SETTER (encoder), GST_TAG_MERGE_KEEP); /* set the tagging information */ diff --git a/win32/common/gstconfig.h b/win32/common/gstconfig.h index 29a4823..6b5f3aa 100644 --- a/win32/common/gstconfig.h +++ b/win32/common/gstconfig.h @@ -23,17 +23,17 @@ * SECTION:gstconfig * @short_description: Build configuration options * - * This describes the configuration options for GStreamer. When building - * GStreamer there are a lot of parts (known internally as "subsystems" ) that can - * be disabled for various reasons. The most common reasons are speed and size, + * This describes the configuration options for GStreamer. When building + * GStreamer there are a lot of parts (known internally as "subsystems" ) that can + * be disabled for various reasons. The most common reasons are speed and size, * which is important because GStreamer is designed to run on embedded systems. - * + * * If a subsystem is disabled, most of this changes are done in an API compatible * way, so you don't need to adapt your code in most cases. It is never done in an * ABI compatible way though. So if you want to disable a suybsystem, you have to * rebuild all programs depending on GStreamer, too. - * - * If a subsystem is disabled in GStreamer, a value is defined in + * + * If a subsystem is disabled in GStreamer, a value is defined in * <gst/gst.h>. You can check this if you do subsystem-specific stuff. * <example> * <title>Doing subsystem specific things diff --git a/win32/common/gstversion.h b/win32/common/gstversion.h index 9207277..008a391 100644 --- a/win32/common/gstversion.h +++ b/win32/common/gstversion.h @@ -29,7 +29,7 @@ * You can also use the macros to keep the GStreamer version information in your * application. * - * Use the gst_version() function if you want to know which version of + * Use the gst_version() function if you want to know which version of * GStreamer you are currently linked against. * * The version macros get defined by including "gst/gst.h". diff --git a/win32/dirent.c b/win32/dirent.c index d2755b5..9abee06 100644 --- a/win32/dirent.c +++ b/win32/dirent.c @@ -1,7 +1,7 @@ /* * dirent.c * - * Derived from DIRLIB.C by Matt J. Weinstein + * Derived from DIRLIB.C by Matt J. Weinstein * This note appears in the DIRLIB.H * DIRLIB.H by M. J. Weinstein Released to public domain 1-Jan-89 * @@ -11,7 +11,7 @@ * * Resource leaks fixed by * - * + * * $Revision$ * $Author$ * $Date$ @@ -156,7 +156,7 @@ _treaddir (_TDIR * dirp) } else { /* Get the next search entry. */ if (_tfindnext (dirp->dd_handle, &(dirp->dd_dta))) { - /* We are off the end or otherwise error. + /* We are off the end or otherwise error. _findnext sets errno to ENOENT if no more file Undo this. */ DWORD winerr = GetLastError (); diff --git a/win32/gstconfig.h b/win32/gstconfig.h index d672253..61743f8 100644 --- a/win32/gstconfig.h +++ b/win32/gstconfig.h @@ -81,7 +81,7 @@ #define GST_EXPORT __declspec(dllimport) extern #endif #else /* not WIN32 */ -#define GST_PLUGIN_EXPORT +#define GST_PLUGIN_EXPORT #define GST_EXPORT extern #endif diff --git a/win32/gstversion.h b/win32/gstversion.h index 8baea03..adee6c5 100644 --- a/win32/gstversion.h +++ b/win32/gstversion.h @@ -27,7 +27,7 @@ /* * Use these only when you want to know what GStreamer version your stuff was * compiled against. - * Use the #gst_version function if you want to know which version of + * Use the #gst_version function if you want to know which version of * GStreamer you are currently linked against. */ #define GST_VERSION_MAJOR 0 diff --git a/win32/gtchar.h b/win32/gtchar.h index 2e3a989..98a147b 100644 --- a/win32/gtchar.h +++ b/win32/gtchar.h @@ -1,4 +1,4 @@ -/* +/* * tchar.h * * Unicode mapping layer for the standard C library. By including this @@ -150,7 +150,7 @@ typedef wchar_t _TCHAR; #define _totupper towupper #define _totlower towlower #define _tcsftime wcsftime -/* Macro functions */ +/* Macro functions */ #define _tcsdec _wcsdec #define _tcsinc _wcsinc #define _tcsnbcnt _wcsncnt @@ -331,7 +331,7 @@ typedef char _TCHAR; #define _tstrtime _strtime #define _tutime _utime #define _tcsftime strftime -/* Macro functions */ +/* Macro functions */ #define _tcsdec _strdec #define _tcsinc _strinc #define _tcsnbcnt _strncnt diff --git a/win32/mman.h b/win32/mman.h index bb2bbfe..71c0707 100644 --- a/win32/mman.h +++ b/win32/mman.h @@ -31,7 +31,7 @@ extern "C" { # define MAP_FAILED ((void *) -1) # endif - + # define PROT_READ PAGE_READONLY # define PROT_WRITE PAGE_WRITEONLY diff --git a/win32/vs7/mman.h b/win32/vs7/mman.h index bb2bbfe..71c0707 100644 --- a/win32/vs7/mman.h +++ b/win32/vs7/mman.h @@ -31,7 +31,7 @@ extern "C" { # define MAP_FAILED ((void *) -1) # endif - + # define PROT_READ PAGE_READONLY # define PROT_WRITE PAGE_WRITEONLY -- 2.7.4