+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src)
+void eos(GstElement *element)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src)
+void eos(GstElement *element)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
#include <gst/gst.h>
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
GstThread *thread = GST_THREAD(data);
g_print("have eos, quitting\n");
CC = libtool gcc
-xml: xml.c
- $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` xml.c -o xml
+all: createxml runxml
+
+createxml: createxml.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` createxml.c -o createxml
+
+runxml: runxml.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` runxml.c -o runxml
clean:
- rm -f *.o xml
+ rm -f *.o createxml runxml
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src)
+void eos(GstElement *element)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src)
+void eos(GstElement *element)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");
#include <gst/gst.h>
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
GstThread *thread = GST_THREAD(data);
g_print("have eos, quitting\n");
CC = libtool gcc
-xml: xml.c
- $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` xml.c -o xml
+all: createxml runxml
+
+createxml: createxml.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` createxml.c -o createxml
+
+runxml: runxml.c
+ $(CC) -Wall -I../../ ../../gst/libgst.la `gnome-config --cflags --libs gnomeui` runxml.c -o runxml
clean:
- rm -f *.o xml
+ rm -f *.o createxml runxml
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
+#include <stdlib.h>
#include <gst/gst.h>
gboolean playing;
/* eos will be called when the src element has an end of stream */
-void eos(GstSrc *src, gpointer data)
+void eos(GstElement *element, gpointer data)
{
g_print("have eos, quitting\n");