mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
sparsefile: keep it private as helper API for downloadbuffer
There's no expectation that any other element or applications might want to use this helper API any time soon, so keep it private for the time being. There were open questions regarding portability and binding-friendliness too. This also removes the gio dependency of -base again. https://bugzilla.gnome.org/show_bug.cgi?id=729951 https://bugzilla.gnome.org/show_bug.cgi?id=729949
This commit is contained in:
parent
b17ea57223
commit
fa94322349
8 changed files with 6 additions and 30 deletions
|
@ -840,22 +840,6 @@ gst_queue_array_drop_element
|
||||||
gst_queue_array_find
|
gst_queue_array_find
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gstsparsefile</FILE>
|
|
||||||
<TITLE>GstSparseFile</TITLE>
|
|
||||||
<INCLUDE>gst/base/gstsparsefile.h</INCLUDE>
|
|
||||||
GstSparseFile
|
|
||||||
gst_sparse_file_new
|
|
||||||
gst_sparse_file_free
|
|
||||||
gst_sparse_file_set_fd
|
|
||||||
gst_sparse_file_clear
|
|
||||||
gst_sparse_file_write
|
|
||||||
gst_sparse_file_read
|
|
||||||
gst_sparse_file_n_ranges
|
|
||||||
gst_sparse_file_get_range_before
|
|
||||||
gst_sparse_file_get_range_after
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
# net
|
# net
|
||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
|
|
|
@ -11,7 +11,6 @@ libgstbase_@GST_API_VERSION@_la_SOURCES = \
|
||||||
gstbitreader.c \
|
gstbitreader.c \
|
||||||
gstbytereader.c \
|
gstbytereader.c \
|
||||||
gstbytewriter.c \
|
gstbytewriter.c \
|
||||||
gstsparsefile.c \
|
|
||||||
gstcollectpads.c \
|
gstcollectpads.c \
|
||||||
gstdataqueue.c \
|
gstdataqueue.c \
|
||||||
gstpushsrc.c \
|
gstpushsrc.c \
|
||||||
|
@ -19,7 +18,7 @@ libgstbase_@GST_API_VERSION@_la_SOURCES = \
|
||||||
gsttypefindhelper.c
|
gsttypefindhelper.c
|
||||||
|
|
||||||
libgstbase_@GST_API_VERSION@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
libgstbase_@GST_API_VERSION@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
libgstbase_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS) $(GIO_LIBS)
|
libgstbase_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS)
|
||||||
libgstbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
libgstbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||||
|
|
||||||
libgstbase_@GST_API_VERSION@includedir = \
|
libgstbase_@GST_API_VERSION@includedir = \
|
||||||
|
@ -35,7 +34,6 @@ libgstbase_@GST_API_VERSION@include_HEADERS = \
|
||||||
gstbitreader.h \
|
gstbitreader.h \
|
||||||
gstbytereader.h \
|
gstbytereader.h \
|
||||||
gstbytewriter.h \
|
gstbytewriter.h \
|
||||||
gstsparsefile.h \
|
|
||||||
gstcollectpads.h \
|
gstcollectpads.h \
|
||||||
gstdataqueue.h \
|
gstdataqueue.h \
|
||||||
gstpushsrc.h \
|
gstpushsrc.h \
|
||||||
|
|
|
@ -19,6 +19,7 @@ libgstcoreelements_la_SOURCES = \
|
||||||
gstmultiqueue.c \
|
gstmultiqueue.c \
|
||||||
gstqueue.c \
|
gstqueue.c \
|
||||||
gstqueue2.c \
|
gstqueue2.c \
|
||||||
|
gstsparsefile.c \
|
||||||
gsttee.c \
|
gsttee.c \
|
||||||
gsttypefindelement.c \
|
gsttypefindelement.c \
|
||||||
gstvalve.c
|
gstvalve.c
|
||||||
|
@ -46,6 +47,7 @@ noinst_HEADERS = \
|
||||||
gstmultiqueue.h \
|
gstmultiqueue.h \
|
||||||
gstqueue.h \
|
gstqueue.h \
|
||||||
gstqueue2.h \
|
gstqueue2.h \
|
||||||
|
gstsparsefile.h \
|
||||||
gsttee.h \
|
gsttee.h \
|
||||||
gsttypefindelement.h \
|
gsttypefindelement.h \
|
||||||
gstvalve.h
|
gstvalve.h
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <gst/base/gstsparsefile.h>
|
#include "gstsparsefile.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,8 @@
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
#include <gst/base/gstsparsefile.h>
|
/* not public API for now */
|
||||||
|
#include "../../../plugins/elements/gstsparsefile.c"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
expect_range_before (GstSparseFile * file, gsize offset, gsize start,
|
expect_range_before (GstSparseFile * file, gsize offset, gsize start,
|
||||||
|
|
|
@ -272,15 +272,6 @@ EXPORTS
|
||||||
gst_queue_array_peek_head
|
gst_queue_array_peek_head
|
||||||
gst_queue_array_pop_head
|
gst_queue_array_pop_head
|
||||||
gst_queue_array_push_tail
|
gst_queue_array_push_tail
|
||||||
gst_sparse_file_clear
|
|
||||||
gst_sparse_file_free
|
|
||||||
gst_sparse_file_get_range_after
|
|
||||||
gst_sparse_file_get_range_before
|
|
||||||
gst_sparse_file_n_ranges
|
|
||||||
gst_sparse_file_new
|
|
||||||
gst_sparse_file_read
|
|
||||||
gst_sparse_file_set_fd
|
|
||||||
gst_sparse_file_write
|
|
||||||
gst_type_find_helper
|
gst_type_find_helper
|
||||||
gst_type_find_helper_for_buffer
|
gst_type_find_helper_for_buffer
|
||||||
gst_type_find_helper_for_data
|
gst_type_find_helper_for_data
|
||||||
|
|
Loading…
Reference in a new issue