/usr/include/clutter-gst-2.0/clutter-gst/clutter-gst-player.h is in libclutter-gst-2.0-dev 2.0.8-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | /*
* Clutter-GStreamer.
*
* GStreamer integration library for Clutter.
*
* clutter-gst-player.h - Wrap some convenience functions around playbin2
*
* Authored By Damien Lespiau <damien.lespiau@intel.com>
* Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
*
* Copyright (C) 2011 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __CLUTTER_GST_PLAYER_H__
#define __CLUTTER_GST_PLAYER_H__
#include <glib-object.h>
#include <clutter/clutter.h>
#include <clutter-gst/clutter-gst-types.h>
G_BEGIN_DECLS
#define CLUTTER_GST_TYPE_PLAYER clutter_gst_player_get_type()
#define CLUTTER_GST_PLAYER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
CLUTTER_GST_TYPE_PLAYER, \
ClutterGstPlayer))
#define CLUTTER_GST_IS_PLAYER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
CLUTTER_GST_TYPE_PLAYER))
#define CLUTTER_GST_PLAYER_GET_INTERFACE(obj) \
(G_TYPE_INSTANCE_GET_INTERFACE ((obj), \
CLUTTER_GST_TYPE_PLAYER, \
ClutterGstPlayerIface))
typedef struct _ClutterGstPlayer ClutterGstPlayer;
typedef struct _ClutterGstPlayerIface ClutterGstPlayerIface;
typedef struct _ClutterGstPlayerIfacePrivate ClutterGstPlayerIfacePrivate;
/**
* ClutterGstPlayer:
*
* #ClutterGstPlayer is an opaque structure whose members cannot be
* directly accessed
*
* Since: 1.4
*/
/**
* ClutterGstPlayerIface:
* @download_buffering: handler for the #ClutterGstPlayer::download-buffering
* signal
*
* Interface vtable for #ClutterGstPlayer implementations
*
* Since: 1.4
*/
struct _ClutterGstPlayerIface
{
/*< private >*/
GTypeInterface base_iface;
ClutterGstPlayerIfacePrivate *priv;
/*< public >*/
GstElement * (* get_pipeline) (ClutterGstPlayer *player);
gchar * (* get_user_agent) (ClutterGstPlayer *player);
void (* set_user_agent) (ClutterGstPlayer *player,
const gchar *user_agent);
ClutterGstSeekFlags (* get_seek_flags) (ClutterGstPlayer *player);
void (* set_seek_flags) (ClutterGstPlayer *player,
ClutterGstSeekFlags flags);
ClutterGstBufferingMode (* get_buffering_mode) (ClutterGstPlayer *player);
void (* set_buffering_mode) (ClutterGstPlayer *player,
ClutterGstBufferingMode mode);
GList * (* get_audio_streams) (ClutterGstPlayer *player);
gint (* get_audio_stream) (ClutterGstPlayer *player);
void (* set_audio_stream) (ClutterGstPlayer *player,
gint index_);
GList * (* get_subtitle_tracks) (ClutterGstPlayer *player);
gint (* get_subtitle_track) (ClutterGstPlayer *player);
void (* set_subtitle_track) (ClutterGstPlayer *player,
gint index_);
gboolean (*get_idle) (ClutterGstPlayer *player);
gboolean (*get_in_seek) (ClutterGstPlayer *player);
void (* _iface_reserved16) (void);
void (* _iface_reserved17) (void);
void (* _iface_reserved18) (void);
void (* _iface_reserved19) (void);
void (* _iface_reserved20) (void);
void (* _iface_reserved21) (void);
void (* _iface_reserved22) (void);
void (* _iface_reserved23) (void);
void (* _iface_reserved24) (void);
void (* _iface_reserved25) (void);
void (* _iface_reserved26) (void);
void (* _iface_reserved27) (void);
void (* _iface_reserved28) (void);
void (* _iface_reserved29) (void);
void (* _iface_reserved30) (void);
void (* _iface_reserved31) (void);
void (* _iface_reserved32) (void);
void (* _iface_reserved33) (void);
void (* _iface_reserved34) (void);
void (* _iface_reserved35) (void);
/* signals */
void (* download_buffering) (ClutterGstPlayer *player,
gdouble start,
gdouble stop);
void (* _clutter_reserved2) (void);
void (* _clutter_reserved3) (void);
void (* _clutter_reserved4) (void);
void (* _clutter_reserved5) (void);
void (* _clutter_reserved6) (void);
void (* _clutter_reserved7) (void);
void (* _clutter_reserved8) (void);
void (* _clutter_reserved9) (void);
void (* _clutter_reserved10) (void);
};
GType clutter_gst_player_get_type (void) G_GNUC_CONST;
void clutter_gst_player_class_init (GObjectClass *object_class);
gboolean clutter_gst_player_init (ClutterGstPlayer *player);
void clutter_gst_player_deinit (ClutterGstPlayer *player);
GstElement * clutter_gst_player_get_pipeline (ClutterGstPlayer *player);
gchar * clutter_gst_player_get_user_agent (ClutterGstPlayer *player);
void clutter_gst_player_set_user_agent (ClutterGstPlayer *player,
const gchar *user_agent);
ClutterGstSeekFlags clutter_gst_player_get_seek_flags (ClutterGstPlayer *player);
void clutter_gst_player_set_seek_flags (ClutterGstPlayer *player,
ClutterGstSeekFlags flags);
ClutterGstBufferingMode clutter_gst_player_get_buffering_mode (ClutterGstPlayer *player);
void clutter_gst_player_set_buffering_mode (ClutterGstPlayer *player,
ClutterGstBufferingMode mode);
GList * clutter_gst_player_get_audio_streams (ClutterGstPlayer *player);
gint clutter_gst_player_get_audio_stream (ClutterGstPlayer *player);
void clutter_gst_player_set_audio_stream (ClutterGstPlayer *player,
gint index_);
GList * clutter_gst_player_get_subtitle_tracks (ClutterGstPlayer *player);
gint clutter_gst_player_get_subtitle_track (ClutterGstPlayer *player);
void clutter_gst_player_set_subtitle_track (ClutterGstPlayer *player,
gint index_);
gboolean clutter_gst_player_get_idle (ClutterGstPlayer *player);
gboolean clutter_gst_player_get_in_seek (ClutterGstPlayer *player);
G_END_DECLS
#endif /* __CLUTTER_GST_PLAYER_H__ */
|