summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/play/play.h
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2003-12-07 19:02:31 +0000
committerJulien Moutte <julien@moutte.net>2003-12-07 19:02:31 +0000
commitbacc26059b100708fd6cb072f7fe428e25c6eeab (patch)
treefdd188536c016b6e490f282d8947ba40311c6f7d /gst-libs/gst/play/play.h
parent6077e73e63d6ee9157cfd628d72ba08f1c447953 (diff)
downloadgst-plugins-bad-bacc26059b100708fd6cb072f7fe428e25c6eeab.tar.gz
gst-plugins-bad-bacc26059b100708fd6cb072f7fe428e25c6eeab.tar.bz2
gst-plugins-bad-bacc26059b100708fd6cb072f7fe428e25c6eeab.zip
time_tick works.
Original commit message from CVS: time_tick works. have_video_size works.
Diffstat (limited to 'gst-libs/gst/play/play.h')
-rw-r--r--gst-libs/gst/play/play.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gst-libs/gst/play/play.h b/gst-libs/gst/play/play.h
index 154f0b77..4d999420 100644
--- a/gst-libs/gst/play/play.h
+++ b/gst-libs/gst/play/play.h
@@ -29,6 +29,13 @@
#define GST_IS_PLAY_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_PLAY))
#define GST_PLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PLAY, GstPlayClass))
+typedef enum
+{
+ GST_PLAY_SINK_TYPE_AUDIO,
+ GST_PLAY_SINK_TYPE_VIDEO,
+ GST_PLAY_SINK_TYPE_ANY,
+} GstPlaySinkType;
+
typedef struct _GstPlay GstPlay;
typedef struct _GstPlayClass GstPlayClass;
@@ -59,6 +66,9 @@ struct _GstPlayClass
GType gst_play_get_type (void);
GstPlay * gst_play_new (void);
+GstElement * gst_play_get_sink_element (GstPlay *play,
+ GstElement *element,
+ GstPlaySinkType sink_type);
gboolean gst_play_set_data_src (GstPlay *play,
GstElement *data_src);
gboolean gst_play_set_video_sink (GstPlay *play,