mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
cleaned up the examples, added Makefiles, etc
Original commit message from CVS: cleaned up the examples, added Makefiles, etc
This commit is contained in:
parent
0b650eb737
commit
5307686379
20 changed files with 48 additions and 22 deletions
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#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");
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
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
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <stdlib.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
gboolean playing;
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#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");
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
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
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include <stdlib.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
gboolean playing;
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue