From bacc26059b100708fd6cb072f7fe428e25c6eeab Mon Sep 17 00:00:00 2001 From: Julien Moutte Date: Sun, 7 Dec 2003 19:02:31 +0000 Subject: time_tick works. Original commit message from CVS: time_tick works. have_video_size works. --- gst-libs/gst/play/play.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gst-libs/gst/play/play.h') 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, -- cgit v1.2.1