GstBase::PlayBin2 Class Reference
[gstreamerbasemm Plugins]

GstBase::PlayBin2 — playbin2 plugin. More...

#include <playbin2.h>

Inheritance diagram for GstBase::PlayBin2:

Gst::Pipeline Gst::Bin Gst::Element Gst::ChildProxy Gst::Object

List of all members.

Public Member Functions

virtual ~PlayBin2 ()
GstPlayBin2* gobj ()
 Provides access to the underlying C GObject.
const GstPlayBin2* gobj () const
 Provides access to the underlying C GObject.
GstPlayBin2* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy
<Glib::ustring> 
property_uri ()
 URI of the media to play.
Glib::PropertyProxy_ReadOnly
<Glib::ustring> 
property_uri () const
 URI of the media to play.
Glib::PropertyProxy
<Glib::ustring> 
property_suburi ()
 Optional URI of a subtitle.
Glib::PropertyProxy_ReadOnly
<Glib::ustring> 
property_suburi () const
 Optional URI of a subtitle.
Glib::PropertyProxy_ReadOnly
<Glib::RefPtr<Gst::Element>> 
property_source () const
 Source element.
Glib::PropertyProxy<PlayFlagsproperty_flags ()
 Flags to control behaviour.
Glib::PropertyProxy_ReadOnly
<PlayFlags
property_flags () const
 Flags to control behaviour.
Glib::PropertyProxy_ReadOnly<int> property_n_video () const
 Total number of video streams.
Glib::PropertyProxy<int> property_current_video ()
 Currently playing video stream (-1 = auto).
Glib::PropertyProxy_ReadOnly<int> property_current_video () const
 Currently playing video stream (-1 = auto).
Glib::PropertyProxy_ReadOnly<int> property_n_audio () const
 Total number of audio streams.
Glib::PropertyProxy<int> property_current_audio ()
 Currently playing audio stream (-1 = auto).
Glib::PropertyProxy_ReadOnly<int> property_current_audio () const
 Currently playing audio stream (-1 = auto).
Glib::PropertyProxy_ReadOnly<int> property_n_text () const
 Total number of text streams.
Glib::PropertyProxy<int> property_current_text ()
 Currently playing text stream (-1 = auto).
Glib::PropertyProxy_ReadOnly<int> property_current_text () const
 Currently playing text stream (-1 = auto).
Glib::PropertyProxy
<Glib::ustring> 
property_subtitle_encoding ()
 Encoding to assume if input subtitles are not in UTF-8 encoding.
Glib::PropertyProxy_ReadOnly
<Glib::ustring> 
property_subtitle_encoding () const
 Encoding to assume if input subtitles are not in UTF-8 encoding.
Glib::PropertyProxy
<Glib::RefPtr<Gst::Element>> 
property_audio_sink ()
 the audio output element to use (NULL = default sink).
Glib::PropertyProxy_ReadOnly
<Glib::RefPtr<Gst::Element>> 
property_audio_sink () const
 the audio output element to use (NULL = default sink).
Glib::PropertyProxy
<Glib::RefPtr<Gst::Element>> 
property_video_sink ()
 the video output element to use (NULL = default sink).
Glib::PropertyProxy_ReadOnly
<Glib::RefPtr<Gst::Element>> 
property_video_sink () const
 the video output element to use (NULL = default sink).
Glib::PropertyProxy
<Glib::RefPtr<Gst::Element>> 
property_vis_plugin ()
 the visualization element to use (NULL = default).
Glib::PropertyProxy_ReadOnly
<Glib::RefPtr<Gst::Element>> 
property_vis_plugin () const
 the visualization element to use (NULL = default).
Glib::PropertyProxy<double> property_volume ()
 The audio volume.
Glib::PropertyProxy_ReadOnly
<double> 
property_volume () const
 The audio volume.
Glib::PropertyProxy<bool> property_mute ()
 Mute the audio channel without changing the volume.
Glib::PropertyProxy_ReadOnly
<bool> 
property_mute () const
 Mute the audio channel without changing the volume.
Glib::PropertyProxy_ReadOnly
<Glib::RefPtr<Gst::Buffer>> 
property_frame () const
 The last frame (NULL = no video available).
Glib::PropertyProxy_WriteOnly
<Glib::ustring> 
property_subtitle_font_desc ()
 Pango font description of font to be used for subtitle rendering.
Glib::PropertyProxy<guint> property_connection_speed ()
 Network connection speed in kbps (0 = unknown).
Glib::PropertyProxy_ReadOnly
<guint> 
property_connection_speed () const
 Network connection speed in kbps (0 = unknown).
Glib::SignalProxy0<void> signal_about_to_finish ()
Glib::SignalProxy0<void> signal_video_changed ()
Glib::SignalProxy0<void> signal_audio_changed ()
Glib::SignalProxy0<void> signal_text_changed ()
Glib::SignalProxy1
<Gst::TagList, int> 
signal_get_video_tags ()
Glib::SignalProxy1
<Gst::TagList, int> 
signal_get_audio_tags ()
Glib::SignalProxy1
<Gst::TagList, int> 
signal_get_text_tags ()
Glib::SignalProxy1
< Glib::RefPtr<Gst::Buffer>
, const Glib::RefPtr
<Gst::Caps >&> 
signal_convert_frame ()
Glib::SignalProxy1
< Glib::RefPtr<Gst::Pad>
, int > 
signal_get_video_pad ()
Glib::SignalProxy1
< Glib::RefPtr<Gst::Pad>
, int > 
signal_get_audio_pad ()
Glib::SignalProxy1
< Glib::RefPtr<Gst::Pad>
, int > 
signal_get_text_pad ()

Static Public Member Functions

static Glib::RefPtr<PlayBin2create ()
 Creates a new playbin2 plugin with a unique name.
static Glib::RefPtr<PlayBin2create (const Glib::ustring& name)
 Creates a new playbin2 plugin with the given name.

Protected Member Functions

 PlayBin2 ()
 PlayBin2 (const Glib::ustring& name)
virtual void on_about_to_finish ()
virtual void on_video_changed ()
virtual void on_audio_changed ()
virtual void on_text_changed ()
virtual Gst::TagList on_get_video_tags (int arg0)
virtual Gst::TagList on_get_audio_tags (int arg0)
virtual Gst::TagList on_get_text_tags (int arg0)
virtual Glib::RefPtr<Gst::Bufferon_convert_frame (const Glib::RefPtr<Gst::Caps>& arg0)
virtual Glib::RefPtr<Gst::Padon_get_video_pad (int arg0)
virtual Glib::RefPtr<Gst::Padon_get_audio_pad (int arg0)
virtual Glib::RefPtr<Gst::Padon_get_text_pad (int arg0)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<GstBase::PlayBin2wrap (GstPlayBin2* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

GstBase::PlayBin2 — playbin2 plugin.

Please include <gstreamerbasemm/playbin2.h> to use. Also, though using the underlying GObject is fine, using its C type is not guaranteed to be API stable across releases because it is not guaranteed to always remain the same.


Constructor& Destructor Documentation

virtual GstBase::PlayBin2::~PlayBin2 (  )  [virtual]

GstBase::PlayBin2::PlayBin2 (  )  [protected]

GstBase::PlayBin2::PlayBin2 ( const Glib::ustring &  name  )  [protected]


Member Function Documentation

static Glib::RefPtr<PlayBin2> GstBase::PlayBin2::create ( const Glib::ustring &  name  )  [static]

Creates a new playbin2 plugin with the given name.

Reimplemented from Gst::Pipeline.

static Glib::RefPtr<PlayBin2> GstBase::PlayBin2::create (  )  [static]

Creates a new playbin2 plugin with a unique name.

Reimplemented from Gst::Pipeline.

const GstPlayBin2* GstBase::PlayBin2::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::Pipeline.

GstPlayBin2* GstBase::PlayBin2::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::Pipeline.

GstPlayBin2* GstBase::PlayBin2::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Gst::Pipeline.

virtual void GstBase::PlayBin2::on_about_to_finish (  )  [protected, virtual]

virtual void GstBase::PlayBin2::on_audio_changed (  )  [protected, virtual]

virtual Glib::RefPtr<Gst::Buffer> GstBase::PlayBin2::on_convert_frame ( const Glib::RefPtr<Gst::Caps>&  arg0  )  [protected, virtual]

virtual Glib::RefPtr<Gst::Pad> GstBase::PlayBin2::on_get_audio_pad ( int  arg0  )  [protected, virtual]

virtual Gst::TagList GstBase::PlayBin2::on_get_audio_tags ( int  arg0  )  [protected, virtual]

virtual Glib::RefPtr<Gst::Pad> GstBase::PlayBin2::on_get_text_pad ( int  arg0  )  [protected, virtual]

virtual Gst::TagList GstBase::PlayBin2::on_get_text_tags ( int  arg0  )  [protected, virtual]

virtual Glib::RefPtr<Gst::Pad> GstBase::PlayBin2::on_get_video_pad ( int  arg0  )  [protected, virtual]

virtual Gst::TagList GstBase::PlayBin2::on_get_video_tags ( int  arg0  )  [protected, virtual]

virtual void GstBase::PlayBin2::on_text_changed (  )  [protected, virtual]

virtual void GstBase::PlayBin2::on_video_changed (  )  [protected, virtual]

Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Gst::Element>> GstBase::PlayBin2::property_audio_sink (  )  const

the audio output element to use (NULL = default sink).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::RefPtr<Gst::Element>> GstBase::PlayBin2::property_audio_sink (  ) 

the audio output element to use (NULL = default sink).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<guint> GstBase::PlayBin2::property_connection_speed (  )  const

Network connection speed in kbps (0 = unknown).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<guint> GstBase::PlayBin2::property_connection_speed (  ) 

Network connection speed in kbps (0 = unknown).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> GstBase::PlayBin2::property_current_audio (  )  const

Currently playing audio stream (-1 = auto).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> GstBase::PlayBin2::property_current_audio (  ) 

Currently playing audio stream (-1 = auto).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> GstBase::PlayBin2::property_current_text (  )  const

Currently playing text stream (-1 = auto).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> GstBase::PlayBin2::property_current_text (  ) 

Currently playing text stream (-1 = auto).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> GstBase::PlayBin2::property_current_video (  )  const

Currently playing video stream (-1 = auto).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> GstBase::PlayBin2::property_current_video (  ) 

Currently playing video stream (-1 = auto).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<PlayFlags> GstBase::PlayBin2::property_flags (  )  const

Flags to control behaviour.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<PlayFlags> GstBase::PlayBin2::property_flags (  ) 

Flags to control behaviour.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Gst::Buffer>> GstBase::PlayBin2::property_frame (  )  const

The last frame (NULL = no video available).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<bool> GstBase::PlayBin2::property_mute (  )  const

Mute the audio channel without changing the volume.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> GstBase::PlayBin2::property_mute (  ) 

Mute the audio channel without changing the volume.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> GstBase::PlayBin2::property_n_audio (  )  const

Total number of audio streams.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> GstBase::PlayBin2::property_n_text (  )  const

Total number of text streams.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> GstBase::PlayBin2::property_n_video (  )  const

Total number of video streams.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Gst::Element>> GstBase::PlayBin2::property_source (  )  const

Source element.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> GstBase::PlayBin2::property_subtitle_encoding (  )  const

Encoding to assume if input subtitles are not in UTF-8 encoding.

If not set

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::ustring> GstBase::PlayBin2::property_subtitle_encoding (  ) 

Encoding to assume if input subtitles are not in UTF-8 encoding.

If not set

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_WriteOnly<Glib::ustring> GstBase::PlayBin2::property_subtitle_font_desc (  ) 

Pango font description of font to be used for subtitle rendering.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> GstBase::PlayBin2::property_suburi (  )  const

Optional URI of a subtitle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::ustring> GstBase::PlayBin2::property_suburi (  ) 

Optional URI of a subtitle.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> GstBase::PlayBin2::property_uri (  )  const

URI of the media to play.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::ustring> GstBase::PlayBin2::property_uri (  ) 

URI of the media to play.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Gst::Element>> GstBase::PlayBin2::property_video_sink (  )  const

the video output element to use (NULL = default sink).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::RefPtr<Gst::Element>> GstBase::PlayBin2::property_video_sink (  ) 

the video output element to use (NULL = default sink).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Gst::Element>> GstBase::PlayBin2::property_vis_plugin (  )  const

the visualization element to use (NULL = default).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::RefPtr<Gst::Element>> GstBase::PlayBin2::property_vis_plugin (  ) 

the visualization element to use (NULL = default).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> GstBase::PlayBin2::property_volume (  )  const

The audio volume.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> GstBase::PlayBin2::property_volume (  ) 

The audio volume.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::SignalProxy0< void > GstBase::PlayBin2::signal_about_to_finish (  ) 

Prototype:
void on_my_about_to_finish()

Glib::SignalProxy0< void > GstBase::PlayBin2::signal_audio_changed (  ) 

Prototype:
void on_my_audio_changed()

Glib::SignalProxy1<Glib::RefPtr<Gst::Buffer>,const Glib::RefPtr<Gst::Caps>&> GstBase::PlayBin2::signal_convert_frame (  ) 

Prototype:
Glib::RefPtr<Gst::Buffer> on_my_convert_frame(const Glib::RefPtr<Gst::Caps>& arg0)

Glib::SignalProxy1<Glib::RefPtr<Gst::Pad>,int> GstBase::PlayBin2::signal_get_audio_pad (  ) 

Prototype:
Glib::RefPtr<Gst::Pad> on_my_get_audio_pad(int arg0)

Glib::SignalProxy1<Gst::TagList,int> GstBase::PlayBin2::signal_get_audio_tags (  ) 

Prototype:
Gst::TagList on_my_get_audio_tags(int arg0)

Glib::SignalProxy1<Glib::RefPtr<Gst::Pad>,int> GstBase::PlayBin2::signal_get_text_pad (  ) 

Prototype:
Glib::RefPtr<Gst::Pad> on_my_get_text_pad(int arg0)

Glib::SignalProxy1<Gst::TagList,int> GstBase::PlayBin2::signal_get_text_tags (  ) 

Prototype:
Gst::TagList on_my_get_text_tags(int arg0)

Glib::SignalProxy1<Glib::RefPtr<Gst::Pad>,int> GstBase::PlayBin2::signal_get_video_pad (  ) 

Prototype:
Glib::RefPtr<Gst::Pad> on_my_get_video_pad(int arg0)

Glib::SignalProxy1<Gst::TagList,int> GstBase::PlayBin2::signal_get_video_tags (  ) 

Prototype:
Gst::TagList on_my_get_video_tags(int arg0)

Glib::SignalProxy0< void > GstBase::PlayBin2::signal_text_changed (  ) 

Prototype:
void on_my_text_changed()

Glib::SignalProxy0< void > GstBase::PlayBin2::signal_video_changed (  ) 

Prototype:
void on_my_video_changed()


Friends And Related Function Documentation

Glib::RefPtr<GstBase::PlayBin2> wrap ( GstPlayBin2 *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Thu Jan 15 09:33:14 2009 for gstreamermm by  doxygen 1.5.7.1