Implemented the function to get the pipeline of gstplay.

Original commit message from CVS:
Implemented the function to get the pipeline of gstplay.
This commit is contained in:
Wim Taymans 2001-04-30 23:35:25 +00:00
parent 0db9c4b9c4
commit e62a1c69d6

View file

@ -619,6 +619,18 @@ gst_play_media_seek (GstPlay *play,
gtk_object_set (GTK_OBJECT (priv->src), "offset", offset, NULL);
}
GstElement*
gst_play_get_pipeline(GstPlay *play)
{
GstPlayPrivate *priv;
g_return_val_if_fail (play != NULL, NULL);
g_return_val_if_fail (GST_IS_PLAY (play), NULL);
priv = (GstPlayPrivate *)play->priv;
return GST_ELEMENT (priv->thread);
}
static void
gst_play_set_arg (GtkObject *object,