From 2011345b96b4678c0e918a286d818e9aaf2d9df8 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 29 Nov 2005 19:47:00 +0000 Subject: [PATCH] =?utf8?q?move=20queue=20from=20core=20to=20the=20elements?= =?utf8?q?=20plugin=20=C3=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Original commit message from CVS: * gst/gst.c: * plugins/elements/Makefile.am: * plugins/elements/gstelements.c: * plugins/elements/gstqueue.c: move queue from core to the elements plugin ç --- ChangeLog | 8 ++++++++ gst/gst.c | 4 +--- plugins/elements/Makefile.am | 4 +++- plugins/elements/gstelements.c | 2 ++ plugins/elements/gstqueue.c | 10 ++++------ 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e10733..f994eaf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-11-29 Thomas Vander Stichele + + * gst/gst.c: + * plugins/elements/Makefile.am: + * plugins/elements/gstelements.c: + * plugins/elements/gstqueue.c: + move queue from core to the elements plugin + 2005-11-29 Andy Wingo * libs/gst/base/gstbasetransform.h: diff --git a/gst/gst.c b/gst/gst.c index fcb285a..feb522d 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -109,7 +109,6 @@ #include /* for LC_ALL */ #include "gst.h" -#include "gstqueue.h" #define GST_CAT_DEFAULT GST_CAT_GST_INIT @@ -505,8 +504,7 @@ gst_register_core_elements (GstPlugin * plugin) if (!gst_element_register (plugin, "bin", GST_RANK_PRIMARY, GST_TYPE_BIN) || !gst_element_register (plugin, "pipeline", GST_RANK_PRIMARY, - GST_TYPE_PIPELINE) || - !gst_element_register (plugin, "queue", GST_RANK_NONE, GST_TYPE_QUEUE) + GST_TYPE_PIPELINE) ) g_assert_not_reached (); diff --git a/plugins/elements/Makefile.am b/plugins/elements/Makefile.am index d142d0e..bd0073e 100644 --- a/plugins/elements/Makefile.am +++ b/plugins/elements/Makefile.am @@ -16,13 +16,14 @@ libgstelements_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_MAJORMINO libgstelements_la_SOURCES = \ gstbufferstore.c \ gstcapsfilter.c \ + gstelements.c \ gstfakesrc.c \ gstfakesink.c \ $(GSTFDSRC) \ gstfilesink.c \ gstfilesrc.c \ gstidentity.c \ - gstelements.c \ + gstqueue.c \ gsttee.c \ gsttypefindelement.c @@ -40,6 +41,7 @@ noinst_HEADERS = \ gstfilesink.h \ gstfilesrc.h \ gstidentity.h \ + gstqueue.h \ gsttee.h \ gsttypefindelement.h diff --git a/plugins/elements/gstelements.c b/plugins/elements/gstelements.c index e719454..bb8d974 100644 --- a/plugins/elements/gstelements.c +++ b/plugins/elements/gstelements.c @@ -33,6 +33,7 @@ #include "gstfilesink.h" #include "gstfilesrc.h" #include "gstidentity.h" +#include "gstqueue.h" #include "gsttee.h" #include "gsttypefindelement.h" @@ -56,6 +57,7 @@ static struct _elements_entry _elements[] = { #endif {"filesrc", GST_RANK_NONE, gst_file_src_get_type}, {"identity", GST_RANK_NONE, gst_identity_get_type}, + {"queue", GST_RANK_NONE, gst_queue_get_type}, {"filesink", GST_RANK_NONE, gst_file_sink_get_type}, {"tee", GST_RANK_NONE, gst_tee_get_type}, {"typefind", GST_RANK_NONE, gst_type_find_element_get_type}, diff --git a/plugins/elements/gstqueue.c b/plugins/elements/gstqueue.c index f23a0f4..067d113 100644 --- a/plugins/elements/gstqueue.c +++ b/plugins/elements/gstqueue.c @@ -37,14 +37,12 @@ * The queue blocks by default. */ -#include "gst_private.h" +#include "gst/gst_private.h" +#include #include "gstqueue.h" -#include "gstevent.h" -#include "gstinfo.h" -#include "gsterror.h" -#include "gstutils.h" -#include "gst-i18n-lib.h" + +#include "../../gst/gst-i18n-lib.h" static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, -- 2.7.4