Removing remaining gstapp*

There are some remaining gstapp* living unlinked from the build scripts.
Remove them.
This commit is contained in:
Thiago Santos 2010-05-24 17:41:40 -03:00
parent 997979c046
commit c6e77c3d03
13 changed files with 0 additions and 2777 deletions

View file

@ -1,38 +1,3 @@
<SIGNAL>
<NAME>GstAppSink::eos</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::new-buffer</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::new-preroll</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::pull-buffer</NAME>
<RETURNS>GstBuffer*</RETURNS>
<FLAGS>la</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstAppSink::pull-preroll</NAME>
<RETURNS>GstBuffer*</RETURNS>
<FLAGS>la</FLAGS>
GstAppSink *gstappsink
</SIGNAL>
<SIGNAL>
<NAME>GstSwitch::block</NAME>
<RETURNS>gint64</RETURNS>
@ -75,44 +40,6 @@ gint64 arg2
gint64 arg3
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::end-of-stream</NAME>
<RETURNS>GstFlowReturn</RETURNS>
<FLAGS>la</FLAGS>
GstAppSrc *gstappsrc
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::enough-data</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSrc *gstappsrc
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::need-data</NAME>
<RETURNS>void</RETURNS>
<FLAGS>l</FLAGS>
GstAppSrc *gstappsrc
guint arg1
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::push-buffer</NAME>
<RETURNS>GstFlowReturn</RETURNS>
<FLAGS>la</FLAGS>
GstAppSrc *gstappsrc
GstBuffer *arg1
</SIGNAL>
<SIGNAL>
<NAME>GstAppSrc::seek-data</NAME>
<RETURNS>gboolean</RETURNS>
<FLAGS>l</FLAGS>
GstAppSrc *gstappsrc
guint64 arg1
</SIGNAL>
<SIGNAL>
<NAME>GstDivxEnc::frame-encoded</NAME>
<RETURNS>void</RETURNS>

View file

@ -1,43 +0,0 @@
<plugin>
<name>app</name>
<description>Elements used to communicate with applications</description>
<filename>../../gst/app/.libs/libgstapp.so</filename>
<basename>libgstapp.so</basename>
<version>0.10.9.1</version>
<license>LGPL</license>
<source>gst-plugins-bad</source>
<package>GStreamer Bad Plug-ins CVS/prerelease</package>
<origin>Unknown package origin</origin>
<elements>
<element>
<name>appsink</name>
<longname>AppSink</longname>
<class>Generic/Sink</class>
<description>Allow the application to get access to raw buffer</description>
<author>David Schleef &lt;ds@schleef.org&gt;, Wim Taymans &lt;wim.taymans@gmail.com&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>ANY</details>
</caps>
</pads>
</element>
<element>
<name>appsrc</name>
<longname>AppSrc</longname>
<class>Generic/Src</class>
<description>Allow the application to feed buffers to a pipeline</description>
<author>David Schleef &lt;ds@schleef.org&gt;, Wim Taymans &lt;wim.taymans@gmail.com&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>ANY</details>
</caps>
</pads>
</element>
</elements>
</plugin>

View file

@ -1,2 +0,0 @@
gstapp-marshal.c
gstapp-marshal.h

View file

@ -1,35 +0,0 @@
lib_LTLIBRARIES = libgstapp-@GST_MAJORMINOR@.la
glib_enum_define = GST_APP
glib_enum_prefix = gst_app
include $(top_srcdir)/common/glib-gen.mak
built_sources = gstapp-marshal.c
built_headers = gstapp-marshal.h
BUILT_SOURCES = $(built_sources) $(built_headers)
nodist_libgstapp_@GST_MAJORMINOR@_la_SOURCES = \
$(built_sources)
libgstapp_@GST_MAJORMINOR@_la_SOURCES = gstappsrc.c gstappbuffer.c gstappsink.c
libgstapp_@GST_MAJORMINOR@_la_CFLAGS = \
$(GST_PLUGINS_BAD_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS)
libgstapp_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS)
libgstapp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_ALL_LDFLAGS)
libgstapp_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=disable-static
libgstapp_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/app
libgstapp_@GST_MAJORMINOR@include_HEADERS = \
gstappsrc.h \
gstappbuffer.h \
gstappsink.h
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = gstapp-marshal.list

View file

@ -1,4 +0,0 @@
VOID:UINT
BOOLEAN:UINT64
ENUM:OBJECT
ENUM:VOID

View file

@ -1,106 +0,0 @@
/* GStreamer
* Copyright (C) 2007 David Schleef <ds@schleef.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <gst/base/gstpushsrc.h>
#include <string.h>
#include "gstappbuffer.h"
static void gst_app_buffer_init (GstAppBuffer * buffer, gpointer g_class);
static void gst_app_buffer_class_init (gpointer g_class, gpointer class_data);
static void gst_app_buffer_finalize (GstAppBuffer * buffer);
static GstBufferClass *parent_class;
GType
gst_app_buffer_get_type (void)
{
static GType _gst_app_buffer_type;
if (G_UNLIKELY (_gst_app_buffer_type == 0)) {
static const GTypeInfo app_buffer_info = {
sizeof (GstBufferClass),
NULL,
NULL,
gst_app_buffer_class_init,
NULL,
NULL,
sizeof (GstAppBuffer),
0,
(GInstanceInitFunc) gst_app_buffer_init,
NULL
};
_gst_app_buffer_type = g_type_register_static (GST_TYPE_BUFFER,
"GstAppBuffer", &app_buffer_info, 0);
}
return _gst_app_buffer_type;
}
static void
gst_app_buffer_init (GstAppBuffer * buffer, gpointer g_class)
{
}
static void
gst_app_buffer_class_init (gpointer g_class, gpointer class_data)
{
GstMiniObjectClass *mini_object_class = GST_MINI_OBJECT_CLASS (g_class);
mini_object_class->finalize =
(GstMiniObjectFinalizeFunction) gst_app_buffer_finalize;
parent_class = g_type_class_peek_parent (g_class);
}
static void
gst_app_buffer_finalize (GstAppBuffer * buffer)
{
g_return_if_fail (buffer != NULL);
g_return_if_fail (GST_IS_APP_BUFFER (buffer));
if (buffer->finalize) {
buffer->finalize (buffer->priv);
}
GST_MINI_OBJECT_CLASS (parent_class)->finalize (GST_MINI_OBJECT (buffer));
}
GstBuffer *
gst_app_buffer_new (void *data, int length,
GstAppBufferFinalizeFunc finalize, void *priv)
{
GstAppBuffer *buffer;
buffer = (GstAppBuffer *) gst_mini_object_new (GST_TYPE_APP_BUFFER);
GST_BUFFER_DATA (buffer) = data;
GST_BUFFER_SIZE (buffer) = length;
buffer->finalize = finalize;
buffer->priv = priv;
return GST_BUFFER (buffer);
}

View file

@ -1,64 +0,0 @@
/* GStreamer
* Copyright (C) 2007 David Schleef <ds@schleef.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GST_APP_BUFFER_H_
#define _GST_APP_BUFFER_H_
#include <gst/gst.h>
G_BEGIN_DECLS
#define GST_TYPE_APP_BUFFER \
(gst_app_buffer_get_type())
#define GST_APP_BUFFER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_APP_BUFFER,GstAppBuffer))
#define GST_APP_BUFFER_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_APP_BUFFER,GstAppBufferClass))
#define GST_IS_APP_BUFFER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_APP_BUFFER))
#define GST_IS_APP_BUFFER_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_APP_BUFFER))
typedef struct _GstAppBuffer GstAppBuffer;
typedef struct _GstAppBufferClass GstAppBufferClass;
typedef void (*GstAppBufferFinalizeFunc) (void *priv);
struct _GstAppBuffer
{
GstBuffer buffer;
/*< private >*/
GstAppBufferFinalizeFunc finalize;
void *priv;
};
struct _GstAppBufferClass
{
GstBufferClass buffer_class;
};
GType gst_app_buffer_get_type(void);
GstBuffer *gst_app_buffer_new (void *data, int length,
GstAppBufferFinalizeFunc finalize, void *priv);
G_END_DECLS
#endif

File diff suppressed because it is too large Load diff

View file

@ -1,99 +0,0 @@
/* GStreamer
* Copyright (C) 2007 David Schleef <ds@schleef.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GST_APP_SINK_H_
#define _GST_APP_SINK_H_
#include <gst/gst.h>
#include <gst/base/gstbasesink.h>
G_BEGIN_DECLS
#define GST_TYPE_APP_SINK \
(gst_app_sink_get_type())
#define GST_APP_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_APP_SINK,GstAppSink))
#define GST_APP_SINK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_APP_SINK,GstAppSinkClass))
#define GST_IS_APP_SINK(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_APP_SINK))
#define GST_IS_APP_SINK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_APP_SINK))
typedef struct _GstAppSink GstAppSink;
typedef struct _GstAppSinkClass GstAppSinkClass;
struct _GstAppSink
{
GstBaseSink basesink;
/*< private >*/
GstCaps *caps;
gboolean emit_signals;
guint max_buffers;
gboolean drop;
GCond *cond;
GMutex *mutex;
GQueue *queue;
GstBuffer *preroll;
gboolean flushing;
gboolean started;
gboolean is_eos;
};
struct _GstAppSinkClass
{
GstBaseSinkClass basesink_class;
/* signals */
gboolean (*eos) (GstAppSink *sink);
gboolean (*new_preroll) (GstAppSink *sink);
gboolean (*new_buffer) (GstAppSink *sink);
/* actions */
GstBuffer * (*pull_preroll) (GstAppSink *sink);
GstBuffer * (*pull_buffer) (GstAppSink *sink);
};
GType gst_app_sink_get_type(void);
GST_DEBUG_CATEGORY_EXTERN (app_sink_debug);
void gst_app_sink_set_caps (GstAppSink *appsink, const GstCaps *caps);
GstCaps * gst_app_sink_get_caps (GstAppSink *appsink);
gboolean gst_app_sink_is_eos (GstAppSink *appsink);
void gst_app_sink_set_emit_signals (GstAppSink *appsink, gboolean emit);
gboolean gst_app_sink_get_emit_signals (GstAppSink *appsink);
void gst_app_sink_set_max_buffers (GstAppSink *appsink, guint max);
guint gst_app_sink_get_max_buffers (GstAppSink *appsink);
void gst_app_sink_set_drop (GstAppSink *appsink, gboolean drop);
gboolean gst_app_sink_get_drop (GstAppSink *appsink);
GstBuffer * gst_app_sink_pull_preroll (GstAppSink *appsink);
GstBuffer * gst_app_sink_pull_buffer (GstAppSink *appsink);
G_END_DECLS
#endif

File diff suppressed because it is too large Load diff

View file

@ -1,120 +0,0 @@
/* GStreamer
* Copyright (C) 2007 David Schleef <ds@schleef.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GST_APP_SRC_H_
#define _GST_APP_SRC_H_
#include <gst/gst.h>
#include <gst/base/gstpushsrc.h>
G_BEGIN_DECLS
#define GST_TYPE_APP_SRC \
(gst_app_src_get_type())
#define GST_APP_SRC(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_APP_SRC,GstAppSrc))
#define GST_APP_SRC_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_APP_SRC,GstAppSrcClass))
#define GST_IS_APP_SRC(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_APP_SRC))
#define GST_IS_APP_SRC_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_APP_SRC))
typedef struct _GstAppSrc GstAppSrc;
typedef struct _GstAppSrcClass GstAppSrcClass;
/**
* GstAppStreamType:
* @GST_APP_STREAM_TYPE_STREAM: No seeking is supported in the stream, such as a
* live stream.
* @GST_APP_STREAM_TYPE_SEEKABLE: The stream is seekable but seeking might not
* be very fast, such as data from a webserver.
* @GST_APP_STREAM_TYPE_RANDOM_ACCESS: The stream is seekable and seeking is fast,
* such as in a local file.
*
* The stream type.
*/
typedef enum
{
GST_APP_STREAM_TYPE_STREAM,
GST_APP_STREAM_TYPE_SEEKABLE,
GST_APP_STREAM_TYPE_RANDOM_ACCESS
} GstAppStreamType;
struct _GstAppSrc
{
GstBaseSrc basesrc;
/*< private >*/
GCond *cond;
GMutex *mutex;
GQueue *queue;
GstCaps *caps;
gint64 size;
GstAppStreamType stream_type;
guint64 max_bytes;
GstFormat format;
gboolean block;
gboolean flushing;
gboolean started;
gboolean is_eos;
guint64 queued_bytes;
guint64 offset;
GstAppStreamType current_type;
};
struct _GstAppSrcClass
{
GstBaseSrcClass basesrc_class;
/* signals */
void (*need_data) (GstAppSrc *src, guint length);
void (*enough_data) (GstAppSrc *src);
gboolean (*seek_data) (GstAppSrc *src, guint64 offset);
/* actions */
GstFlowReturn (*push_buffer) (GstAppSrc *src, GstBuffer *buffer);
GstFlowReturn (*end_of_stream) (GstAppSrc *src);
};
GType gst_app_src_get_type(void);
GST_DEBUG_CATEGORY_EXTERN (app_src_debug);
void gst_app_src_set_caps (GstAppSrc *appsrc, const GstCaps *caps);
GstCaps* gst_app_src_get_caps (GstAppSrc *appsrc);
void gst_app_src_set_size (GstAppSrc *appsrc, gint64 size);
gint64 gst_app_src_get_size (GstAppSrc *appsrc);
void gst_app_src_set_stream_type (GstAppSrc *appsrc, GstAppStreamType type);
GstAppStreamType gst_app_src_get_stream_type (GstAppSrc *appsrc);
void gst_app_src_set_max_bytes (GstAppSrc *appsrc, guint64 max);
guint64 gst_app_src_get_max_bytes (GstAppSrc *appsrc);
GstFlowReturn gst_app_src_push_buffer (GstAppSrc *appsrc, GstBuffer *buffer);
GstFlowReturn gst_app_src_end_of_stream (GstAppSrc *appsrc);
G_END_DECLS
#endif

View file

@ -1,8 +0,0 @@
plugin_LTLIBRARIES = libgstapp.la
libgstapp_la_SOURCES = gstapp.c
libgstapp_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS)
libgstapp_la_LIBADD = $(GST_BASE_LIBS) $(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la
libgstapp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstapp_la_LIBTOOLFLAGS = --tag=disable-static

View file

@ -1,42 +0,0 @@
/* GStreamer
* Copyright (C) 2007 David Schleef <ds@schleef.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <gst/app/gstappsrc.h>
#include <gst/app/gstappsink.h>
static gboolean
plugin_init (GstPlugin * plugin)
{
gst_element_register (plugin, "appsrc", GST_RANK_NONE, GST_TYPE_APP_SRC);
gst_element_register (plugin, "appsink", GST_RANK_NONE, GST_TYPE_APP_SINK);
return TRUE;
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"app",
"Elements used to communicate with applications",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)