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.
This commit is contained in:
Wim Taymans 2001-01-19 00:01:42 +00:00
parent 90f82b6840
commit 520fbbee75
7 changed files with 9 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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 <gsthttpsrc.h>
@ -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 },

View file

@ -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) {

View file

@ -29,6 +29,7 @@
#include "gstscheduler.h"
GstElementDetails gst_bin_details = {
"Generic bin",
"Bin",

View file

@ -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

View file

@ -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 <gsthttpsrc.h>
@ -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 },