translit(dnm, m, l) AM_CONDITIONAL(GST_DISABLE_LOADSAVE, true)
GST_SUBSYSTEM_DISABLE(LOADSAVE,[pipeline XML load/save])
-translit(dnm, m, l) AM_CONDITIONAL(GST_DISABLE_AUTOPLUG, true)
-GST_SUBSYSTEM_DISABLE(AUTOPLUG,[autoplugger subsystem])
translit(dnm, m, l) AM_CONDITIONAL(GST_DISABLE_PARSE, true)
GST_SUBSYSTEM_DISABLE(PARSE,[command-line parser])
translit(dnm, m, l) AM_CONDITIONAL(GST_DISABLE_TRACE, true)
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY Gst SYSTEM "xml/gst.xml">
-<!ENTITY GstAutoplug SYSTEM "xml/gstautoplug.xml">
<!ENTITY GstAtomic SYSTEM "xml/gstatomic.xml">
<!ENTITY GstBin SYSTEM "xml/gstbin.xml">
<!ENTITY GstConfig SYSTEM "xml/gstconfig.xml">
<!ENTITY GstIndex SYSTEM "xml/gstindex.xml">
<!ENTITY cothreads SYSTEM "xml/cothreads.xml">
-<!-- if none of the API is documented, these shouldn't go in
-<!ENTITY GstStaticAutoplug SYSTEM "xml/gststaticautoplug.xml">
-<!ENTITY GstStaticAutoplugRender SYSTEM "xml/gststaticautoplugrender.xml">
--->
<!ENTITY GstAggregator SYSTEM "xml/gstaggregator.xml">
<!ENTITY GstFakeSrc SYSTEM "xml/gstfakesrc.xml">
<!ENTITY GstFakeSink SYSTEM "xml/gstfakesink.xml">
-->
</chapter>
-<!-- no API is documented of these elements
- <chapter id="autopluggers">
- <title>GStreamer Autopluggers</title>
-
- <para>the autopluggers provide a way to automatically construct elements based on
- sink and src capabilities</para>
-
- &GstStaticAutoplug;
- &GstStaticAutoplugRender;
- </chapter>
--->
-
<!--
<chapter id="gst-index">
<title>Index</title>
<SECTION>
-<FILE>gstautoplug</FILE>
-<TITLE>GstAutoplug</TITLE>
-GstAutoplug
-GstAutoplugFlags
-gst_autoplug_signal_new_object
-gst_autoplug_to_caps
-gst_autoplug_to_renderers
-<SUBSECTION Standard>
-GstAutoplugClass
-GST_AUTOPLUG
-GST_IS_AUTOPLUG
-GST_TYPE_AUTOPLUG
-gst_autoplug_get_type
-GST_AUTOPLUG_CLASS
-GST_IS_AUTOPLUG_CLASS
-GST_TYPE_AUTOPLUG_FLAGS
-gst_autoplug_flags_get_type
-</SECTION>
-
-<SECTION>
-<FILE>gstautoplugfactory</FILE>
-<TITLE>GstAutoplugFactory</TITLE>
-GstAutoplugFactory
-gst_autoplug_factory_new
-gst_autoplug_factory_destroy
-gst_autoplug_factory_find
-gst_autoplug_factory_create
-gst_autoplug_factory_make
-<SUBSECTION Standard>
-gst_autoplug_factory_get_type
-GstAutoplugFactoryClass
-GST_TYPE_AUTOPLUG_FACTORY
-GST_AUTOPLUG_FACTORY
-GST_AUTOPLUG_FACTORY_CLASS
-GST_IS_AUTOPLUG_FACTORY
-GST_IS_AUTOPLUG_FACTORY_CLASS
-</SECTION>
-
-<SECTION>
<FILE>gstclock</FILE>
GstClockTime
GstClockTimeDiff
</SECTION>
-<SECTION>
-<FILE>gststaticautoplug</FILE>
-<TITLE>GstStaticAutoplug</TITLE>
-<SUBSECTION Standard>
-GstStaticAutoplug
-GST_STATIC_AUTOPLUG
-GST_IS_STATIC_AUTOPLUG
-GST_TYPE_STATIC_AUTOPLUG
-gst_static_autoplug_get_type
-GST_STATIC_AUTOPLUG_CLASS
-GST_IS_STATIC_AUTOPLUG_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>gststaticautoplugrender</FILE>
-<TITLE>GstStaticAutoplugRender</TITLE>
-<SUBSECTION Standard>
-GstStaticAutoplugRender
-GST_STATIC_AUTOPLUG_RENDER
-GST_IS_STATIC_AUTOPLUG_RENDER
-GST_TYPE_STATIC_AUTOPLUG_RENDER
-gst_static_autoplug_render_get_type
-GST_STATIC_AUTOPLUG_RENDER_CLASS
-GST_IS_STATIC_AUTOPLUG_RENDER_CLASS
-</SECTION>
gst_ghost_pad_get_type
gst_thread_get_type
gst_plugin_feature_get_type
-gst_autoplug_get_type
-gst_autoplug_factory_get_type
gst_type_find_factory_get_type
gst_element_factory_get_type
gst_scheduler_factory_get_type
GST_LOADSAVE_DIRS = xml typefind
endif
-if GST_DISABLE_AUTOPLUG
-GST_AUTOPLUG_DIRS =
-else
-GST_AUTOPLUG_DIRS = autoplug helloworld2
-endif
-
SUBDIRS = \
helloworld \
queue \
pingpong \
manual \
retag \
- $(GST_LOADSAVE_DIRS) \
- $(GST_AUTOPLUG_DIRS)
+ $(GST_LOADSAVE_DIRS)
-
-DIST_SUBDIRS = autoplug \
- helloworld \
- helloworld2 \
+DIST_SUBDIRS = helloworld \
queue \
queue2 \
queue3 \
GNOME=
endif
-if GST_DISABLE_AUTOPLUG
-GST_AUTOPLUG_SRC =
-else
-GST_AUTOPLUG_SRC = helloworld2
-endif
-
if GST_DISABLE_LOADSAVE
GST_LOADSAVE_SRC =
else
GST_LOADSAVE_SRC = xml-mp3
endif
-EXAMPLES = dynamic $(GNOME) helloworld $(GST_AUTOPLUG_SRC) queue threads $(GST_LOADSAVE_SRC)
+EXAMPLES = dynamic $(GNOME) helloworld queue threads $(GST_LOADSAVE_SRC)
noinst_PROGRAMS = $(EXAMPLES)
LDADD = $(GST_LIBS)
# also, it's a bit irritating that right now a change in any xml file
# triggers a rebuild of all examples
#%.c:
-dynamic.c gnome.c helloworld.c helloworld2.c queue.c threads.c xml-mp3.c: $(top_srcdir)/docs/manual/*.xml
+dynamic.c gnome.c helloworld.c queue.c threads.c xml-mp3.c: $(top_srcdir)/docs/manual/*.xml
$(PERL_PATH) $(srcdir)/extract.pl $@ $(top_srcdir)/docs/manual/*.xml
GST_LOADSAVE_SRC = gstxml.c
endif
-if GST_DISABLE_AUTOPLUG
-GST_AUTOPLUG_SRC =
-GST_AUTOPLUG_DIRS =
-else
-GST_AUTOPLUG_SRC = gstautoplug.c
-GST_AUTOPLUG_DIRS = autoplug
-endif
-
if GST_DISABLE_PARSE
GST_PARSE_SRC =
GST_PARSE_DIRS =
GST_URI_SRC = gsturi.c
endif
-EXTRA_libgstreamer_@GST_MAJORMINOR@_la_SOURCES = gstcpuid_i386.s gstmarshal.list gstxml.c gstparse.c gstautoplug.c gsttrace.c
+EXTRA_libgstreamer_@GST_MAJORMINOR@_la_SOURCES = gstcpuid_i386.s gstmarshal.list gstxml.c gstparse.c gsttrace.c
-SUBDIRS = $(GST_PARSE_DIRS) $(GST_REGISTRY_DIRS) . $(GST_AUTOPLUG_DIRS) elements schedulers $(GST_INDEX_DIRS)
+SUBDIRS = $(GST_PARSE_DIRS) $(GST_REGISTRY_DIRS) . autoplug elements schedulers $(GST_INDEX_DIRS)
DIST_SUBDIRS = autoplug elements parse registries schedulers indexers
libgstreamer_@GST_MAJORMINOR@_la_SOURCES = \
$(GST_ENUMTYPES_SRC) \
gstobject.c \
gstatomic.c \
- $(GST_AUTOPLUG_SRC) \
gstbin.c \
gstbuffer.c \
gstbufferpool-default.c \
gstpipeline.c \
gstplugin.c \
gstpluginfeature.c \
- gstprobe.c \
gstprops.c \
+ gstprobe.c \
gstqueue.c \
gstquery.c \
gstscheduler.c \
gst.h \
gstatomic.h \
gstobject.h \
- gstautoplug.h \
gstbin.h \
gstbuffer.h \
gstbufferpool-default.h \
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
plugin_LTLIBRARIES = \
- libgststaticautoplug.la \
- libgststaticautoplugrender.la \
- libgstautoplugcache.la \
- libgstautoplugger.la \
libgstspider.la
-libgststaticautoplug_la_SOURCES = gststaticautoplug.c
-libgststaticautoplug_la_CFLAGS = $(GST_CFLAGS)
-libgststaticautoplug_la_LIBADD =
-libgststaticautoplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-
-libgststaticautoplugrender_la_SOURCES = gststaticautoplugrender.c
-libgststaticautoplugrender_la_CFLAGS = $(GST_CFLAGS)
-libgststaticautoplugrender_la_LIBADD =
-libgststaticautoplugrender_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-
-libgstautoplugcache_la_SOURCES = gstautoplugcache.c
-libgstautoplugcache_la_CFLAGS = $(GST_CFLAGS)
-libgstautoplugcache_la_LIBADD =
-libgstautoplugcache_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-
-libgstautoplugger_la_SOURCES = gstautoplugger.c
-libgstautoplugger_la_CFLAGS = $(GST_CFLAGS)
-libgstautoplugger_la_LIBADD =
-libgstautoplugger_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-
libgstspider_la_SOURCES = \
gstspider.c gstspideridentity.c \
gstsearchfuncs.c
libgstspider_la_LIBADD =
libgstspider_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-noinst_HEADERS = gststaticautoplug.h gststaticautoplugrender.h \
- gstspider.h gstspideridentity.h gstsearchfuncs.h
-
-noinst_PROGRAMS = autoplugtest spidertest
+noinst_HEADERS = gstspider.h gstsearchfuncs.h
-autoplugtest_CFLAGS = $(GST_CFLAGS)
-autoplugtest_LDADD = $(GST_LIBS)
+noinst_PROGRAMS = spidertest
spidertest_SOURCES = spidertest.c
spidertest_CFLAGS = $(GST_CFLAGS)
gst_scheduler_factory_get_type ();
gst_type_find_factory_get_type ();
gst_bin_get_type ();
-#ifndef GST_DISABLE_AUTOPLUG
- gst_autoplug_factory_get_type ();
-#endif /* GST_DISABLE_AUTOPLUG */
#ifndef GST_DISABLE_INDEX
gst_index_factory_get_type ();
#endif /* GST_DISABLE_INDEX */
#include <gst/gsttypes.h>
#include <gst/gstversion.h>
-#include <gst/gstautoplug.h>
#include <gst/gstbin.h>
#include <gst/gstbuffer.h>
#include <gst/gstbufferpool-default.h>
#define GST_DISABLE_LOADSAVE_REGISTRY 1
#define GST_DISABLE_GST_DEBUG 1
#define GST_DISABLE_LOADSAVE 1
-#define GST_DISABLE_AUTOPLUG 1
#define GST_DISABLE_PARSE 1
#define GST_DISABLE_TRACE 1
#define GST_DISABLE_ALLOC_TRACE 1
@GST_DISABLE_LOADSAVE_DEFINE@
/* DOES NOT WORK */
-@GST_DISABLE_AUTOPLUG_DEFINE@
-
-/* DOES NOT WORK */
@GST_DISABLE_PARSE_DEFINE@
/* DOES NOT WORK */
#include <gst/gstelement.h>
#include <gst/gsttypefind.h>
#include <gst/gstscheduler.h>
-#include <gst/gstautoplug.h>
#include <gst/gsturi.h>
#include <gst/gstinfo.h>
}
static gboolean
-gst_xml_registry_parse_autoplug_factory (GMarkupParseContext *context, const gchar *tag, const gchar *text,
- gsize text_len, GstXMLRegistry *registry, GError **error)
-{
- GstAutoplugFactory *factory = GST_AUTOPLUG_FACTORY (registry->current_feature);
-
- if (!strcmp (tag, "name")) {
- registry->current_feature->name = g_strndup (text, text_len);
- }
- else if (!strcmp (tag, "longdesc")) {
- factory->longdesc = g_strndup (text, text_len);
- }
- return TRUE;
-}
-
-static gboolean
gst_xml_registry_parse_index_factory (GMarkupParseContext *context, const gchar *tag, const gchar *text,
gsize text_len, GstXMLRegistry *registry, GError **error)
{
xmlregistry->parser = gst_xml_registry_parse_scheduler_factory;
GST_SCHEDULER_FACTORY (feature)->type = 0;
}
- else if (GST_IS_AUTOPLUG_FACTORY (feature)) {
- xmlregistry->parser = gst_xml_registry_parse_autoplug_factory;
- }
else if (GST_IS_INDEX_FACTORY (feature)) {
xmlregistry->parser = gst_xml_registry_parse_index_factory;
}
else if (GST_IS_SCHEDULER_FACTORY (feature)) {
PUT_ESCAPED ("longdesc", GST_SCHEDULER_FACTORY (feature)->longdesc);
}
- else if (GST_IS_AUTOPLUG_FACTORY (feature)) {
- PUT_ESCAPED ("longdesc", GST_AUTOPLUG_FACTORY (feature)->longdesc);
- }
else if (GST_IS_INDEX_FACTORY (feature)) {
PUT_ESCAPED ("longdesc", GST_INDEX_FACTORY (feature)->longdesc);
}
GST_LOADSAVE_DIRS = xml typefind
endif
-if GST_DISABLE_AUTOPLUG
-GST_AUTOPLUG_DIRS =
-else
-GST_AUTOPLUG_DIRS = autoplug helloworld2
-endif
-
SUBDIRS = \
helloworld \
queue \
pingpong \
manual \
retag \
- $(GST_LOADSAVE_DIRS) \
- $(GST_AUTOPLUG_DIRS)
+ $(GST_LOADSAVE_DIRS)
-
-DIST_SUBDIRS = autoplug \
- helloworld \
- helloworld2 \
+DIST_SUBDIRS = helloworld \
queue \
queue2 \
queue3 \
GNOME=
endif
-if GST_DISABLE_AUTOPLUG
-GST_AUTOPLUG_SRC =
-else
-GST_AUTOPLUG_SRC = helloworld2
-endif
-
if GST_DISABLE_LOADSAVE
GST_LOADSAVE_SRC =
else
GST_LOADSAVE_SRC = xml-mp3
endif
-EXAMPLES = dynamic $(GNOME) helloworld $(GST_AUTOPLUG_SRC) queue threads $(GST_LOADSAVE_SRC)
+EXAMPLES = dynamic $(GNOME) helloworld queue threads $(GST_LOADSAVE_SRC)
noinst_PROGRAMS = $(EXAMPLES)
LDADD = $(GST_LIBS)
# also, it's a bit irritating that right now a change in any xml file
# triggers a rebuild of all examples
#%.c:
-dynamic.c gnome.c helloworld.c helloworld2.c queue.c threads.c xml-mp3.c: $(top_srcdir)/docs/manual/*.xml
+dynamic.c gnome.c helloworld.c queue.c threads.c xml-mp3.c: $(top_srcdir)/docs/manual/*.xml
$(PERL_PATH) $(srcdir)/extract.pl $@ $(top_srcdir)/docs/manual/*.xml
g_print ("%s: %s: %s\n", plugin->desc.name,
GST_PLUGIN_FEATURE_NAME (factory) ,factory->details.longname);
}
-#ifndef GST_DISABLE_AUTOPLUG
- else if (GST_IS_AUTOPLUG_FACTORY (feature)) {
- GstAutoplugFactory *factory;
-
- factory = GST_AUTOPLUG_FACTORY (feature);
- g_print ("%s: %s: %s\n", plugin->desc.name,
- GST_PLUGIN_FEATURE_NAME (factory), factory->longdesc);
- }
-#endif
#ifndef GST_DISABLE_INDEX
else if (GST_IS_INDEX_FACTORY (feature)) {
GstIndexFactory *factory;
GList *features;
gint num_features = 0;
gint num_elements = 0;
- gint num_autoplug = 0;
gint num_types = 0;
gint num_schedulers = 0;
gint num_indexes = 0;
factory->details.longname);
num_elements++;
}
-#ifndef GST_DISABLE_AUTOPLUG
- else if (GST_IS_AUTOPLUG_FACTORY (feature)) {
- GstAutoplugFactory *factory;
-
- factory = GST_AUTOPLUG_FACTORY (feature);
- g_print (" %s: %s\n", GST_OBJECT_NAME (factory), factory->longdesc);
- num_autoplug++;
- }
-#endif
#ifndef GST_DISABLE_INDEX
else if (GST_IS_INDEX_FACTORY (feature)) {
GstIndexFactory *factory;
g_print ("\n %d features:\n", num_features);
if (num_elements > 0)
g_print (" +-- %d elements\n", num_elements);
- if (num_autoplug > 0)
- g_print (" +-- %d autopluggers\n", num_autoplug);
if (num_types > 0)
g_print (" +-- %d types\n", num_types);
if (num_schedulers > 0)
return 0;
}
#endif
-#ifndef GST_DISABLE_AUTOPLUG
- feature = gst_registry_pool_find_feature (argv[1],
- GST_TYPE_AUTOPLUG_FACTORY);
- if (feature) {
- g_print ("%s: an autoplugger\n", argv[1]);
- return 0;
- }
-#endif
feature = gst_registry_pool_find_feature (argv[1],
GST_TYPE_TYPE_FIND_FACTORY);
if (feature) {
g_print ("%s: %s: %s\n", plugin->desc.name,
GST_PLUGIN_FEATURE_NAME (factory) ,factory->details.longname);
}
-#ifndef GST_DISABLE_AUTOPLUG
- else if (GST_IS_AUTOPLUG_FACTORY (feature)) {
- GstAutoplugFactory *factory;
-
- factory = GST_AUTOPLUG_FACTORY (feature);
- g_print ("%s: %s: %s\n", plugin->desc.name,
- GST_PLUGIN_FEATURE_NAME (factory), factory->longdesc);
- }
-#endif
#ifndef GST_DISABLE_INDEX
else if (GST_IS_INDEX_FACTORY (feature)) {
GstIndexFactory *factory;
factory->details.longname);
num_elements++;
}
-#ifndef GST_DISABLE_AUTOPLUG
- else if (GST_IS_AUTOPLUG_FACTORY (feature)) {
- GstAutoplugFactory *factory;
-
- factory = GST_AUTOPLUG_FACTORY (feature);
- g_print (" %s: %s\n", GST_OBJECT_NAME (factory), factory->longdesc);
- num_autoplug++;
- }
-#endif
#ifndef GST_DISABLE_INDEX
else if (GST_IS_INDEX_FACTORY (feature)) {
GstIndexFactory *factory;
return 0;
}
#endif
-#ifndef GST_DISABLE_AUTOPLUG
- feature = gst_registry_pool_find_feature (argv[1],
- GST_TYPE_AUTOPLUG_FACTORY);
- if (feature) {
- g_print ("%s: an autoplugger\n", argv[1]);
- return 0;
- }
-#endif
feature = gst_registry_pool_find_feature (argv[1],
GST_TYPE_TYPE_FIND_FACTORY);
if (feature) {