fix whitespace

This commit is contained in:
Wim Taymans 2009-09-08 13:02:46 +02:00
parent 058776bcf1
commit 2a5cd16eb1
3 changed files with 17 additions and 17 deletions

View file

@ -80,7 +80,7 @@
* When playback has finished (an EOS message has been received on the bus) * 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 * 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 * 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. * new location and then playbin be set to PLAYING state again.
* *
* Seeking can be done using gst_element_seek_simple() or gst_element_seek() * 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_SUBURI NULL
#define DEFAULT_SOURCE NULL #define DEFAULT_SOURCE NULL
#define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \ #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_N_VIDEO 0
#define DEFAULT_CURRENT_VIDEO -1 #define DEFAULT_CURRENT_VIDEO -1
#define DEFAULT_N_AUDIO 0 #define DEFAULT_N_AUDIO 0
@ -644,7 +644,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
/** /**
* GstPlayBin2:n-video * 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_object_class_install_property (gobject_klass, PROP_N_VIDEO,
g_param_spec_int ("n-video", "Number Video", g_param_spec_int ("n-video", "Number Video",
@ -663,7 +663,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
/** /**
* GstPlayBin2:n-audio * 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_object_class_install_property (gobject_klass, PROP_N_AUDIO,
g_param_spec_int ("n-audio", "Number Audio", g_param_spec_int ("n-audio", "Number Audio",
@ -682,7 +682,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
/** /**
* GstPlayBin2:n-text * 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_object_class_install_property (gobject_klass, PROP_N_TEXT,
g_param_spec_int ("n-text", "Number 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 * If @caps is %NULL, no conversion will be performed and this function is
* equivalent to the #GstPlayBin::frame property. * 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. * 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 * %NULL is returned when no current buffer can be retrieved or when the
* conversion failed. * conversion failed.
@ -947,7 +947,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
* @playbin: a #GstPlayBin2 * @playbin: a #GstPlayBin2
* @stream: a video stream number * @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. * video stream.
* This pad can be used for notifications of caps changes, stream-specific * This pad can be used for notifications of caps changes, stream-specific
* queries, etc. * queries, etc.
@ -964,7 +964,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
* @playbin: a #GstPlayBin2 * @playbin: a #GstPlayBin2
* @stream: an audio stream number * @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. * audio stream.
* This pad can be used for notifications of caps changes, stream-specific * This pad can be used for notifications of caps changes, stream-specific
* queries, etc. * queries, etc.
@ -981,7 +981,7 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
* @playbin: a #GstPlayBin2 * @playbin: a #GstPlayBin2
* @stream: a text stream number * @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. * text stream.
* This pad can be used for notifications of caps changes, stream-specific * This pad can be used for notifications of caps changes, stream-specific
* queries, etc. * queries, etc.

View file

@ -818,7 +818,7 @@ try_element (GstPlaySink * playsink, GstElement * element, gboolean unref)
} }
/* make the element (bin) that contains the elements needed to perform /* make the element (bin) that contains the elements needed to perform
* video display. * video display.
* *
* +------------------------------------------------------------+ * +------------------------------------------------------------+
* | vbin | * | vbin |
@ -828,7 +828,7 @@ try_element (GstPlaySink * playsink, GstElement * element, gboolean unref)
* | | +-------+ +----------+ +----------+ +---------+ | * | | +-------+ +----------+ +----------+ +---------+ |
* sink-+ | * sink-+ |
* +------------------------------------------------------------+ * +------------------------------------------------------------+
* *
*/ */
static GstPlayVideoChain * static GstPlayVideoChain *
gen_video_chain (GstPlaySink * playsink, gboolean raw, gboolean async, gen_video_chain (GstPlaySink * playsink, gboolean raw, gboolean async,
@ -1035,7 +1035,7 @@ setup_video_chain (GstPlaySink * playsink, gboolean raw, gboolean async,
* | +-----+ | textoverlay | | * | +-----+ | textoverlay | |
* | | csp | +--video_sink | | * | | csp | +--video_sink | |
* sink-------sink src+ +-text_sink src--+ | * sink-------sink src+ +-text_sink src--+ |
* | +-----+ | +-------------+ +-- src * | +-----+ | +-------------+ +-- src
* text_sink-------------+ | * text_sink-------------+ |
* +----------------------------------------------+ * +----------------------------------------------+
*/ */
@ -1194,7 +1194,7 @@ gen_text_chain (GstPlaySink * playsink)
* | +-------+ +-----+ | dvdspu | | * | +-------+ +-----+ | dvdspu | |
* | | queue | | csp | +---video | | * | | queue | | csp | +---video | |
* sink----sink src--sink src+ +-subpicture src--+ | * sink----sink src--sink src+ +-subpicture src--+ |
* | +-------+ +-----+ | +-------------+ +-- src * | +-------+ +-----+ | +-------------+ +-- src
* subpicture----------------------+ | * subpicture----------------------+ |
* +--------------------------------------------------------+ * +--------------------------------------------------------+
*/ */
@ -1317,7 +1317,7 @@ gen_subp_chain (GstPlaySink * playsink)
} }
/* make the chain that contains the elements needed to perform /* 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 * We add a tee as the first element so that we can link the visualisation chain
* to it when requested. * to it when requested.
@ -1623,7 +1623,7 @@ setup_audio_chain (GstPlaySink * playsink, gboolean raw, gboolean queue)
* | | +----------+ +------------+ +----------+ +-------+ | | * | | +----------+ +------------+ +----------+ +-------+ | |
* sink-+ +-src * sink-+ +-src
* +-------------------------------------------------------------------+ * +-------------------------------------------------------------------+
* *
*/ */
static GstPlayVisChain * static GstPlayVisChain *
gen_vis_chain (GstPlaySink * playsink) gen_vis_chain (GstPlaySink * playsink)
@ -1839,7 +1839,7 @@ gst_play_sink_reconfigure (GstPlaySink * playsink)
GST_DEBUG_OBJECT (playsink, "unlinking vis chain"); 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 */ * unlink the video from it */
if (playsink->audio_tee_vissrc) { if (playsink->audio_tee_vissrc) {
gst_element_release_request_pad (playsink->audio_tee, gst_element_release_request_pad (playsink->audio_tee,

View file

@ -16,7 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GST_PLAY_SINK_H__ #ifndef __GST_PLAY_SINK_H__
#define __GST_PLAY_SINK_H__ #define __GST_PLAY_SINK_H__