mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
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:
parent
0db9c4b9c4
commit
e62a1c69d6
1 changed files with 12 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue