diff --git a/docs/gst/Makefile.am b/docs/gst/Makefile.am index 53431b99e6..ebd57269dd 100644 --- a/docs/gst/Makefile.am +++ b/docs/gst/Makefile.am @@ -12,7 +12,7 @@ DOC_SOURCE_DIR=$(top_srcdir)/gst CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) -I$(top_srcdir) LDFLAGS = $(GLIB_LIBS) $(GTK_LIBS) $(top_srcdir)/gst/.libs/libgst.so $(top_srcdir)/gst/elements/.libs/libgstelements.so -EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt +EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt $(DOC_MAIN_SGML_FILE) HTML_DIR=$(datadir)/gstreamer/html diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index e68939f74c..bf15ac9723 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -664,20 +664,6 @@ GST_IS_DISKSRC_CLASS gst_disksrc_details -
-gstesdsink -GstEsdSink - -GstEsdSink -GstEsdSinkClass -gst_esdsink_get_type -GST_TYPE_ESDSINK -GST_ESDSINK -GST_ESDSINK_CLASS -GST_IS_ESDSINK -GST_IS_ESDSINK_CLASS -
-
gstfakesink GstFakeSink diff --git a/editor/pixmaps/Makefile.am b/editor/pixmaps/Makefile.am new file mode 100644 index 0000000000..9c6bba4dea --- /dev/null +++ b/editor/pixmaps/Makefile.am @@ -0,0 +1,4 @@ +xpmdir = $(datadir)/gsteditor/pixmaps +xpm_DATA = bin.xpm element.xpm pipeline.xpm selector.xpm tee.xpm thread.xpm + +EXTRA_DIST = $(xpm_DATA) diff --git a/tests/Makefile.am b/tests/Makefile.am index ef810bb3e8..7ddf5eadfd 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,7 @@ SUBDIRS = sched noinst_PROGRAMS = init loadall simplefake states caps queue registry \ -paranoia rip mp3encode autoplug props case4 markup load +paranoia rip mp3encode autoplug props case4 markup load eos LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/gst/libgst.la CFLAGS = -Wall diff --git a/tests/eos/Makefile.am b/tests/eos/Makefile.am new file mode 100644 index 0000000000..374ae897bc --- /dev/null +++ b/tests/eos/Makefile.am @@ -0,0 +1,6 @@ +noinst_PROGRAMS = case1 + +LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/gst/libgst.la +CFLAGS = -Wall + +INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) -I$(top_srcdir) diff --git a/tests/eos/case1.c b/tests/eos/case1.c new file mode 100644 index 0000000000..34a4fd9fd4 --- /dev/null +++ b/tests/eos/case1.c @@ -0,0 +1,55 @@ +#include + +gboolean playing = TRUE; + +static void +eos_signal_element (GstElement *element) +{ + g_print ("element eos received from \"%s\"\n", gst_element_get_name (element)); +} + +static void +eos_signal (GstElement *element) +{ + g_print ("eos received from \"%s\"\n", gst_element_get_name (element)); + + playing = FALSE; +} + +int +main(int argc,char *argv[]) +{ + GstBin *pipeline; + GstElement *src,*identity,*sink; + + gst_init(&argc,&argv); + + pipeline = GST_BIN(gst_pipeline_new("pipeline")); + g_return_val_if_fail(pipeline != NULL, 1); + + src = gst_elementfactory_make("fakesrc","src"); + gtk_object_set (GTK_OBJECT (src), "num_buffers", 1, NULL); + g_return_val_if_fail(src != NULL, 2); + + identity = gst_elementfactory_make("identity","identity"); + g_return_val_if_fail(identity != NULL, 3); + sink = gst_elementfactory_make("fakesink","sink"); + g_return_val_if_fail(sink != NULL, 4); + + gst_bin_add(pipeline,GST_ELEMENT(src)); + gst_bin_add(pipeline,GST_ELEMENT(identity)); + gst_bin_add(pipeline,GST_ELEMENT(sink)); + + gst_element_connect(src,"src",identity,"sink"); + gst_element_connect(identity,"src",sink,"sink"); + + gtk_signal_connect (GTK_OBJECT (src), "eos", eos_signal_element, NULL); + gtk_signal_connect (GTK_OBJECT (pipeline), "eos", eos_signal, NULL); + + gst_element_set_state(GST_ELEMENT(pipeline),GST_STATE_PLAYING); + + while (playing) + gst_bin_iterate(pipeline); + + exit (0); +}