* 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()
#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
/**
* 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",
/**
* 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",
/**
* 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",
* 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.
* @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.
* @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.
* @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.
}
/* make the element (bin) that contains the elements needed to perform
- * video display.
+ * video display.
*
* +------------------------------------------------------------+
* | vbin |
* | | +-------+ +----------+ +----------+ +---------+ |
* sink-+ |
* +------------------------------------------------------------+
- *
+ *
*/
static GstPlayVideoChain *
gen_video_chain (GstPlaySink * playsink, gboolean raw, gboolean async,
* | +-----+ | textoverlay | |
* | | csp | +--video_sink | |
* sink-------sink src+ +-text_sink src--+ |
- * | +-----+ | +-------------+ +-- src
+ * | +-----+ | +-------------+ +-- src
* text_sink-------------+ |
* +----------------------------------------------+
*/
* | +-------+ +-----+ | dvdspu | |
* | | queue | | csp | +---video | |
* sink----sink src--sink src+ +-subpicture src--+ |
- * | +-------+ +-----+ | +-------------+ +-- src
+ * | +-------+ +-----+ | +-------------+ +-- src
* subpicture----------------------+ |
* +--------------------------------------------------------+
*/
}
/* 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.
* | | +----------+ +------------+ +----------+ +-------+ | |
* sink-+ +-src
* +-------------------------------------------------------------------+
- *
+ *
*/
static GstPlayVisChain *
gen_vis_chain (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,