From 520fbbee75f1ada59febc92f3a3d4c3b2a161f8a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 19 Jan 2001 00:01:42 +0000 Subject: [PATCH] Moved queue and typefind elements to the core since they are referenced by name. Original commit message from CVS: Moved queue and typefind elements to the core since they are referenced by name. --- gst/Makefile.am | 4 ++++ gst/elements/Makefile.am | 4 ---- gst/elements/gstelements.c | 4 ---- gst/gst.c | 4 ++++ gst/gstbin.c | 1 + plugins/elements/Makefile.am | 4 ---- plugins/elements/gstelements.c | 4 ---- 7 files changed, 9 insertions(+), 16 deletions(-) diff --git a/gst/Makefile.am b/gst/Makefile.am index 607ab9e..94a1334 100644 --- a/gst/Makefile.am +++ b/gst/Makefile.am @@ -32,10 +32,12 @@ libgst_la_SOURCES = \ gstpipeline.c \ gstplugin.c \ gstprops.c \ + gstqueue.c \ gstscheduler.c \ gstthread.c \ gsttrace.c \ gsttype.c \ + gsttypefind.c \ gstutils.c \ gstxml.c \ gstparse.c \ @@ -86,10 +88,12 @@ libgstinclude_HEADERS = \ gstpipeline.h \ gstplugin.h \ gstprops.h \ + gstqueue.h \ gstscheduler.h \ gstthread.h \ gsttrace.h \ gsttype.h \ + gsttypefind.h \ gstutils.h \ gstparse.h \ gstxml.h diff --git a/gst/elements/Makefile.am b/gst/elements/Makefile.am index 3a14027..a6292d3 100644 --- a/gst/elements/Makefile.am +++ b/gst/elements/Makefile.am @@ -21,9 +21,7 @@ libgstelements_la_SOURCES = \ gstaudiosrc.c \ gstfdsink.c \ gstpipefilter.c \ - gstqueue.c \ gsttee.c \ - gsttypefind.c \ gstsinesrc.c \ $(GSTHTTPSRC) @@ -39,9 +37,7 @@ noinst_HEADERS = \ gstaudiosrc.h \ gstfdsink.h \ gstpipefilter.h \ - gstqueue.h \ gsttee.h \ - gsttypefind.h \ gstsinesrc.h CFLAGS += -O2 -Wall diff --git a/gst/elements/gstelements.c b/gst/elements/gstelements.c index da7c0f6..c91a010 100644 --- a/gst/elements/gstelements.c +++ b/gst/elements/gstelements.c @@ -33,10 +33,8 @@ #include "gstfdsink.h" #include "gstfdsrc.h" #include "gstpipefilter.h" -#include "gstqueue.h" #include "gstsinesrc.h" #include "gsttee.h" -#include "gsttypefind.h" #if HAVE_LIBGHTTP #include @@ -61,10 +59,8 @@ static struct _elements_entry _elements[] = { { "fdsink", gst_fdsink_get_type, &gst_fdsink_details, NULL }, { "fdsrc", gst_fdsrc_get_type, &gst_fdsrc_details, NULL }, { "pipefilter", gst_pipefilter_get_type, &gst_pipefilter_details, NULL }, - { "queue", gst_queue_get_type, &gst_queue_details, NULL }, { "sinesrc", gst_sinesrc_get_type, &gst_sinesrc_details, NULL }, { "tee", gst_tee_get_type, &gst_tee_details, gst_tee_factory_init }, - { "typefind", gst_typefind_get_type, &gst_typefind_details, NULL }, #if HAVE_LIBGHTTP { "httpsrc", gst_httpsrc_get_type, &gst_httpsrc_details, NULL }, diff --git a/gst/gst.c b/gst/gst.c index 1b98c5d..a8aa795 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -31,6 +31,8 @@ #include "gstbin.h" #include "gstpipeline.h" #include "gstthread.h" +#include "gstqueue.h" +#include "gsttypefind.h" @@ -76,6 +78,8 @@ gst_init (int *argc, char **argv[]) gst_elementfactory_new ("bin", gst_bin_get_type (), &gst_bin_details); gst_elementfactory_new ("pipeline", gst_pipeline_get_type (), &gst_pipeline_details); gst_elementfactory_new ("thread", gst_thread_get_type (), &gst_thread_details); + gst_elementfactory_new ("queue", gst_queue_get_type (), &gst_queue_details); + gst_elementfactory_new ("typefind", gst_typefind_get_type (), &gst_typefind_details); _gst_trace_on = 0; if (_gst_trace_on) { diff --git a/gst/gstbin.c b/gst/gstbin.c index aa63cae..4bf7348 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -29,6 +29,7 @@ #include "gstscheduler.h" + GstElementDetails gst_bin_details = { "Generic bin", "Bin", diff --git a/plugins/elements/Makefile.am b/plugins/elements/Makefile.am index 3a14027..a6292d3 100644 --- a/plugins/elements/Makefile.am +++ b/plugins/elements/Makefile.am @@ -21,9 +21,7 @@ libgstelements_la_SOURCES = \ gstaudiosrc.c \ gstfdsink.c \ gstpipefilter.c \ - gstqueue.c \ gsttee.c \ - gsttypefind.c \ gstsinesrc.c \ $(GSTHTTPSRC) @@ -39,9 +37,7 @@ noinst_HEADERS = \ gstaudiosrc.h \ gstfdsink.h \ gstpipefilter.h \ - gstqueue.h \ gsttee.h \ - gsttypefind.h \ gstsinesrc.h CFLAGS += -O2 -Wall diff --git a/plugins/elements/gstelements.c b/plugins/elements/gstelements.c index da7c0f6..c91a010 100644 --- a/plugins/elements/gstelements.c +++ b/plugins/elements/gstelements.c @@ -33,10 +33,8 @@ #include "gstfdsink.h" #include "gstfdsrc.h" #include "gstpipefilter.h" -#include "gstqueue.h" #include "gstsinesrc.h" #include "gsttee.h" -#include "gsttypefind.h" #if HAVE_LIBGHTTP #include @@ -61,10 +59,8 @@ static struct _elements_entry _elements[] = { { "fdsink", gst_fdsink_get_type, &gst_fdsink_details, NULL }, { "fdsrc", gst_fdsrc_get_type, &gst_fdsrc_details, NULL }, { "pipefilter", gst_pipefilter_get_type, &gst_pipefilter_details, NULL }, - { "queue", gst_queue_get_type, &gst_queue_details, NULL }, { "sinesrc", gst_sinesrc_get_type, &gst_sinesrc_details, NULL }, { "tee", gst_tee_get_type, &gst_tee_details, gst_tee_factory_init }, - { "typefind", gst_typefind_get_type, &gst_typefind_details, NULL }, #if HAVE_LIBGHTTP { "httpsrc", gst_httpsrc_get_type, &gst_httpsrc_details, NULL }, -- 2.7.4