ClutterGstVideoTexture

ClutterGstVideoTexture — Actor for playback of video files.

Synopsis

                    ClutterGstVideoTexture;
                    ClutterGstVideoTextureClass;
ClutterActor *      clutter_gst_video_texture_new       (void);
GstElement *        clutter_gst_video_texture_get_pipeline
                                                        (ClutterGstVideoTexture *texture);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----ClutterTexture
                     +----ClutterGstVideoTexture

Implemented Interfaces

ClutterGstVideoTexture implements ClutterScriptable and ClutterMedia.

Description

ClutterGstVideoTexture is a ClutterTexture that plays video files.

Details

ClutterGstVideoTexture

typedef struct _ClutterGstVideoTexture ClutterGstVideoTexture;

Subclass of ClutterTexture that displays videos using GStreamer.

The ClutterGstVideoTexture structure contains only private data and should not be accessed directly.


ClutterGstVideoTextureClass

typedef struct {
} ClutterGstVideoTextureClass;

Base class for ClutterGstVideoTexture.


clutter_gst_video_texture_new ()

ClutterActor *      clutter_gst_video_texture_new       (void);

Creates a video texture.

Note

This function has to be called from Clutter's main thread. While GStreamer will spawn threads to do its work, we want all the GL calls to happen in the same thread. Clutter-gst knows which thread it is by assuming this constructor is called from the Clutter thread.

Returns :

the newly created video texture actor

clutter_gst_video_texture_get_pipeline ()

GstElement *        clutter_gst_video_texture_get_pipeline
                                                        (ClutterGstVideoTexture *texture);

Retrieves the GstPipeline used by the texture, for direct use with GStreamer API.

texture :

a ClutterGstVideoTexture

Returns :

the pipeline element used by the video texture