base: make GstDataQueue private API for multiqueue
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 7 Oct 2011 12:54:51 +0000 (13:54 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 7 Oct 2011 12:54:37 +0000 (13:54 +0100)
There's no code that uses it other than multiqueue, so make it private
to multiqueue for now. That way we can also do optimisations that
require API/ABI breaks. If anyone ever wants to use it, we can still
make it public again.

docs/libs/gstreamer-libs-docs.sgml
docs/libs/gstreamer-libs-sections.txt
libs/gst/base/Makefile.am
plugins/elements/Makefile.am
plugins/elements/gstdataqueue.c [moved from libs/gst/base/gstdataqueue.c with 100% similarity]
plugins/elements/gstdataqueue.h [moved from libs/gst/base/gstdataqueue.h with 100% similarity]
plugins/elements/gstmultiqueue.h
tests/check/libs/gstlibscpp.cc
tests/check/libs/libsabi.c
win32/common/libgstbase.def

index 8f84966..ee1b06b 100644 (file)
@@ -45,7 +45,6 @@
       <xi:include href="xml/gstbytewriter.xml" />
       <xi:include href="xml/gstcollectpads.xml" />
       <xi:include href="xml/gsttypefindhelper.xml" />
-      <xi:include href="xml/gstdataqueue.xml" />
     </chapter>
 
     <chapter id="gstreamer-control">
index 1e9e968..94233aa 100644 (file)
@@ -768,38 +768,6 @@ gst_type_find_helper_get_range_ext
 <SUBSECTION Private>
 </SECTION>
 
-<SECTION>
-<FILE>gstdataqueue</FILE>
-<TITLE>GstDataQueue</TITLE>
-<INCLUDE>gst/base/gstdataqueue.h</INCLUDE>
-GstDataQueue
-GstDataQueueSize
-GstDataQueueCheckFullFunction
-GstDataQueueItem
-GstDataQueueEmptyCallback
-GstDataQueueFullCallback
-gst_data_queue_new
-gst_data_queue_new_full
-gst_data_queue_push
-gst_data_queue_pop
-gst_data_queue_flush
-gst_data_queue_set_flushing
-gst_data_queue_drop_head
-gst_data_queue_is_full
-gst_data_queue_is_empty
-gst_data_queue_get_level
-gst_data_queue_limits_changed
-<SUBSECTION Standard>
-GstDataQueueClass
-GST_DATA_QUEUE
-GST_IS_DATA_QUEUE
-GST_TYPE_DATA_QUEUE
-GST_DATA_QUEUE_CLASS
-GST_IS_DATA_QUEUE_CLASS
-<SUBSECTION Private>
-gst_data_queue_get_type
-</SECTION>
-
 # net
 
 <SECTION>
index 9a5f50e..f603cbb 100644 (file)
@@ -13,8 +13,7 @@ libgstbase_@GST_MAJORMINOR@_la_SOURCES = \
        gstbytewriter.c         \
        gstcollectpads.c        \
        gstpushsrc.c            \
-       gsttypefindhelper.c     \
-       gstdataqueue.c
+       gsttypefindhelper.c
 
 libgstbase_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
 libgstbase_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS)
@@ -34,8 +33,7 @@ libgstbase_@GST_MAJORMINOR@include_HEADERS =  \
        gstbytewriter.h         \
        gstcollectpads.h        \
        gstpushsrc.h            \
-       gsttypefindhelper.h     \
-       gstdataqueue.h
+       gsttypefindhelper.h
 
 noinst_HEADERS = \
        gstbytereader-docs.h \
index f743cf2..a4d4c81 100644 (file)
@@ -15,6 +15,7 @@ libgstcoreelements_la_SOURCES =       \
        gstidentity.c           \
        gstinputselector.c      \
        gstoutputselector.c     \
+       gstdataqueue.c          \
        gstmultiqueue.c         \
        gstqueue.c              \
        gstqueue2.c             \
@@ -41,6 +42,7 @@ noinst_HEADERS =              \
        gstidentity.h           \
        gstinputselector.h      \
        gstoutputselector.h     \
+       gstdataqueue.h          \
        gstmultiqueue.h         \
        gstqueue.h              \
        gstqueue2.h             \
index bb3d840..ee20a71 100644 (file)
@@ -24,7 +24,7 @@
 #define __GST_MULTI_QUEUE_H__
 
 #include <gst/gst.h>
-#include <gst/base/gstdataqueue.h>
+#include "gstdataqueue.h"
 
 G_BEGIN_DECLS
 
index 23079e8..93f7451 100644 (file)
@@ -32,7 +32,6 @@
 #include <gst/base/gstbytereader.h>
 #include <gst/base/gstbytewriter.h>
 #include <gst/base/gstcollectpads.h>
-#include <gst/base/gstdataqueue.h>
 #include <gst/base/gstpushsrc.h>
 #include <gst/base/gsttypefindhelper.h>
 
index 0178539..f302bc6 100644 (file)
@@ -30,7 +30,6 @@
 #include <gst/base/gstbytereader.h>
 #include <gst/base/gstbytewriter.h>
 #include <gst/base/gstcollectpads.h>
-#include <gst/base/gstdataqueue.h>
 #include <gst/base/gstpushsrc.h>
 #include <gst/base/gsttypefindhelper.h>
 #include <gst/controller/gstcontroller.h>
index 3415da2..cbf2770 100644 (file)
@@ -222,18 +222,6 @@ EXPORTS
        gst_collect_pads_start
        gst_collect_pads_stop
        gst_collect_pads_take_buffer
-       gst_data_queue_drop_head
-       gst_data_queue_flush
-       gst_data_queue_get_level
-       gst_data_queue_get_type
-       gst_data_queue_is_empty
-       gst_data_queue_is_full
-       gst_data_queue_limits_changed
-       gst_data_queue_new
-       gst_data_queue_new_full
-       gst_data_queue_pop
-       gst_data_queue_push
-       gst_data_queue_set_flushing
        gst_push_src_get_type
        gst_type_find_helper
        gst_type_find_helper_for_buffer