From 2a5cd16eb173245b169140d49eaa02e29957d52e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 8 Sep 2009 13:02:46 +0200 Subject: [PATCH] fix whitespace --- gst/playback/gstplaybin2.c | 18 +++++++++--------- gst/playback/gstplaysink.c | 14 +++++++------- gst/playback/gstplaysink.h | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 24071b5..02619ad 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -80,7 +80,7 @@ * When playback has finished (an EOS message has been received on the bus) * or an error has occured (an ERROR message has been received on the bus) or * the user wants to play a different track, playbin should be set back to - * READY or NULL state, then the #GstPlayBin2:uri property should be set to the + * READY or NULL state, then the #GstPlayBin2:uri property should be set to the * new location and then playbin be set to PLAYING state again. * * Seeking can be done using gst_element_seek_simple() or gst_element_seek() @@ -421,7 +421,7 @@ struct _GstPlayBinClass #define DEFAULT_SUBURI NULL #define DEFAULT_SOURCE NULL #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \ - GST_PLAY_FLAG_SOFT_VOLUME + GST_PLAY_FLAG_SOFT_VOLUME #define DEFAULT_N_VIDEO 0 #define DEFAULT_CURRENT_VIDEO -1 #define DEFAULT_N_AUDIO 0 @@ -644,7 +644,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) /** * GstPlayBin2:n-video * - * Get the total number of available video streams. + * Get the total number of available video streams. */ g_object_class_install_property (gobject_klass, PROP_N_VIDEO, g_param_spec_int ("n-video", "Number Video", @@ -663,7 +663,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) /** * GstPlayBin2:n-audio * - * Get the total number of available audio streams. + * Get the total number of available audio streams. */ g_object_class_install_property (gobject_klass, PROP_N_AUDIO, g_param_spec_int ("n-audio", "Number Audio", @@ -682,7 +682,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) /** * GstPlayBin2:n-text * - * Get the total number of available subtitle streams. + * Get the total number of available subtitle streams. */ g_object_class_install_property (gobject_klass, PROP_N_TEXT, g_param_spec_int ("n-text", "Number Text", @@ -931,7 +931,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) * If @caps is %NULL, no conversion will be performed and this function is * equivalent to the #GstPlayBin::frame property. * - * Returns: a #GstBuffer of the current video frame converted to #caps. + * Returns: a #GstBuffer of the current video frame converted to #caps. * The caps on the buffer will describe the final layout of the buffer data. * %NULL is returned when no current buffer can be retrieved or when the * conversion failed. @@ -947,7 +947,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) * @playbin: a #GstPlayBin2 * @stream: a video stream number * - * Action signal to retrieve the stream-selector sinkpad for a specific + * Action signal to retrieve the stream-selector sinkpad for a specific * video stream. * This pad can be used for notifications of caps changes, stream-specific * queries, etc. @@ -964,7 +964,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) * @playbin: a #GstPlayBin2 * @stream: an audio stream number * - * Action signal to retrieve the stream-selector sinkpad for a specific + * Action signal to retrieve the stream-selector sinkpad for a specific * audio stream. * This pad can be used for notifications of caps changes, stream-specific * queries, etc. @@ -981,7 +981,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass) * @playbin: a #GstPlayBin2 * @stream: a text stream number * - * Action signal to retrieve the stream-selector sinkpad for a specific + * Action signal to retrieve the stream-selector sinkpad for a specific * text stream. * This pad can be used for notifications of caps changes, stream-specific * queries, etc. diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 2a8a0909..fbda431 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -818,7 +818,7 @@ try_element (GstPlaySink * playsink, GstElement * element, gboolean unref) } /* make the element (bin) that contains the elements needed to perform - * video display. + * video display. * * +------------------------------------------------------------+ * | vbin | @@ -828,7 +828,7 @@ try_element (GstPlaySink * playsink, GstElement * element, gboolean unref) * | | +-------+ +----------+ +----------+ +---------+ | * sink-+ | * +------------------------------------------------------------+ - * + * */ static GstPlayVideoChain * gen_video_chain (GstPlaySink * playsink, gboolean raw, gboolean async, @@ -1035,7 +1035,7 @@ setup_video_chain (GstPlaySink * playsink, gboolean raw, gboolean async, * | +-----+ | textoverlay | | * | | csp | +--video_sink | | * sink-------sink src+ +-text_sink src--+ | - * | +-----+ | +-------------+ +-- src + * | +-----+ | +-------------+ +-- src * text_sink-------------+ | * +----------------------------------------------+ */ @@ -1194,7 +1194,7 @@ gen_text_chain (GstPlaySink * playsink) * | +-------+ +-----+ | dvdspu | | * | | queue | | csp | +---video | | * sink----sink src--sink src+ +-subpicture src--+ | - * | +-------+ +-----+ | +-------------+ +-- src + * | +-------+ +-----+ | +-------------+ +-- src * subpicture----------------------+ | * +--------------------------------------------------------+ */ @@ -1317,7 +1317,7 @@ gen_subp_chain (GstPlaySink * playsink) } /* make the chain that contains the elements needed to perform - * audio playback. + * audio playback. * * We add a tee as the first element so that we can link the visualisation chain * to it when requested. @@ -1623,7 +1623,7 @@ setup_audio_chain (GstPlaySink * playsink, gboolean raw, gboolean queue) * | | +----------+ +------------+ +----------+ +-------+ | | * sink-+ +-src * +-------------------------------------------------------------------+ - * + * */ static GstPlayVisChain * gen_vis_chain (GstPlaySink * playsink) @@ -1839,7 +1839,7 @@ gst_play_sink_reconfigure (GstPlaySink * playsink) GST_DEBUG_OBJECT (playsink, "unlinking vis chain"); - /* also had visualisation, release the tee srcpad before we then + /* also had visualisation, release the tee srcpad before we then * unlink the video from it */ if (playsink->audio_tee_vissrc) { gst_element_release_request_pad (playsink->audio_tee, diff --git a/gst/playback/gstplaysink.h b/gst/playback/gstplaysink.h index fd3cabd..4de6207 100644 --- a/gst/playback/gstplaysink.h +++ b/gst/playback/gstplaysink.h @@ -16,7 +16,7 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ - + #ifndef __GST_PLAY_SINK_H__ #define __GST_PLAY_SINK_H__ -- 2.7.4