Original commit message from CVS:
added ability to write out xml copy of pipeline
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->bin);
+}
static void
gst_play_set_arg (GtkObject *object,
gst_media_play_start_uri (play, argv[1]);
}
+ xmlSaveFile("gstmediaplay.gst", gst_xml_write(gst_play_get_pipeline(play->play)));
+
gdk_threads_enter ();
gst_main ();
gdk_threads_leave ();