summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-player.h
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@linux.intel.com>2012-03-26 18:37:38 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2012-04-27 14:24:28 +0100
commite36ee1777f2f1f104c30b1791a14da4a94f07c49 (patch)
treeecba0b3aa4c8cdea476db7b45f461947395912b6 /clutter-gst/clutter-gst-player.h
parent5de930bc5751be5b1896cb8a428928434c171be8 (diff)
downloadclutter-gst-e36ee1777f2f1f104c30b1791a14da4a94f07c49.tar.gz
player: Add a "in-seek" property
This can be used when we need to keep external controllers in sync with the current progress without having to poll for the progress. For example in Mpris player: http://www.mpris.org/2.1/spec/Player_Node.html#Method:Seek
Diffstat (limited to 'clutter-gst/clutter-gst-player.h')
-rw-r--r--clutter-gst/clutter-gst-player.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-player.h b/clutter-gst/clutter-gst-player.h
index 1d1fad5..2a7cdf3 100644
--- a/clutter-gst/clutter-gst-player.h
+++ b/clutter-gst/clutter-gst-player.h
@@ -108,7 +108,8 @@ struct _ClutterGstPlayerIface
gboolean (*get_idle) (ClutterGstPlayer *player);
- void (* _iface_reserved15) (void);
+ gboolean (*get_in_seek) (ClutterGstPlayer *player);
+
void (* _iface_reserved16) (void);
void (* _iface_reserved17) (void);
void (* _iface_reserved18) (void);
@@ -178,6 +179,8 @@ void clutter_gst_player_set_subtitle_track (ClutterGstPlay
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__ */