summaryrefslogtreecommitdiffstats
path: root/gst/videofilter
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-29 10:46:00 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-29 10:46:00 +0000
commit01f2c2f7992b81c2a7578cd02fc88281c8fdb40a (patch)
tree6a3d6aa98af0a9e9b6c1106ced80f917a8b7ec5d /gst/videofilter
parent0b05eeeafa61a6e7bc6e5efb05429ed122a3daaf (diff)
remove the videofilter library and link to the one in base
Original commit message from CVS: remove the videofilter library and link to the one in base
Diffstat (limited to 'gst/videofilter')
-rw-r--r--gst/videofilter/Makefile.am10
-rw-r--r--gst/videofilter/gstvideofilter.c86
-rw-r--r--gst/videofilter/gstvideofilter.h56
-rw-r--r--gst/videofilter/gstvideoflip.h2
4 files changed, 3 insertions, 151 deletions
diff --git a/gst/videofilter/Makefile.am b/gst/videofilter/Makefile.am
index 3bfcbce6..cb5e286b 100644
--- a/gst/videofilter/Makefile.am
+++ b/gst/videofilter/Makefile.am
@@ -1,16 +1,11 @@
-noinst_LTLIBRARIES = libgstvideofilter-@GST_MAJORMINOR@.la
# noinst_LTLIBRARIES = libgstvideoexample.la
plugin_LTLIBRARIES = libgstvideoflip.la
-noinst_HEADERS = gstvideofilter.h gstvideoflip.h
+noinst_HEADERS = gstvideoflip.h
EXTRA_DIST = gstvideotemplate.c make_filter
CLEANFILES = gstvideoexample.c
-libgstvideofilter_@GST_MAJORMINOR@_la_SOURCES = gstvideofilter.c gstvideofilter.h
-libgstvideofilter_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS)
-libgstvideofilter_@GST_MAJORMINOR@_la_LIBS = $(GST_LIBS)
-
# libgstvideoexample_la_SOURCES = gstvideoexample.c
# libgstvideoexample_la_CFLAGS = $(GST_CFLAGS)
# libgstvideoexample_la_LIBADD = libgstvideofilter-@GST_MAJORMINOR@.la $(GST_LIBS)
@@ -19,8 +14,7 @@ libgstvideofilter_@GST_MAJORMINOR@_la_LIBS = $(GST_LIBS)
libgstvideoflip_la_SOURCES = gstvideoflip.c
libgstvideoflip_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS)
-libgstvideoflip_la_LIBADD = libgstvideofilter-@GST_MAJORMINOR@.la $(GST_LIBS) \
- $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS)
+libgstvideoflip_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ $(GST_BASE_LIBS) $(GST_LIBS)
libgstvideoflip_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
# libgstvideobalance_la_SOURCES = gstvideobalance.c
diff --git a/gst/videofilter/gstvideofilter.c b/gst/videofilter/gstvideofilter.c
deleted file mode 100644
index a7d9db0e..00000000
--- a/gst/videofilter/gstvideofilter.c
+++ /dev/null
@@ -1,86 +0,0 @@
-/* GStreamer
- * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
- * Copyright (C) <2003> 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 "gstvideofilter.h"
-
-GST_DEBUG_CATEGORY_STATIC (gst_videofilter_debug);
-#define GST_CAT_DEFAULT gst_videofilter_debug
-
-static void gst_videofilter_class_init (gpointer g_class, gpointer class_data);
-static void gst_videofilter_init (GTypeInstance * instance, gpointer g_class);
-
-static GstBaseTransformClass *parent_class = NULL;
-
-GType
-gst_videofilter_get_type (void)
-{
- static GType videofilter_type = 0;
-
- if (!videofilter_type) {
- static const GTypeInfo videofilter_info = {
- sizeof (GstVideofilterClass),
- NULL,
- NULL,
- gst_videofilter_class_init,
- NULL,
- NULL,
- sizeof (GstVideofilter),
- 0,
- gst_videofilter_init,
- };
-
- videofilter_type = g_type_register_static (GST_TYPE_BASE_TRANSFORM,
- "GstVideofilter", &videofilter_info, G_TYPE_FLAG_ABSTRACT);
- }
- return videofilter_type;
-}
-
-static void
-gst_videofilter_class_init (gpointer g_class, gpointer class_data)
-{
- GObjectClass *gobject_class;
- GstElementClass *gstelement_class;
- GstBaseTransformClass *trans_class;
- GstVideofilterClass *klass;
-
- klass = (GstVideofilterClass *) g_class;
- gobject_class = (GObjectClass *) klass;
- gstelement_class = (GstElementClass *) klass;
- trans_class = (GstBaseTransformClass *) klass;
-
- parent_class = g_type_class_peek_parent (klass);
-
- GST_DEBUG_CATEGORY_INIT (gst_videofilter_debug, "videofilter", 0,
- "videofilter");
-}
-
-static void
-gst_videofilter_init (GTypeInstance * instance, gpointer g_class)
-{
- GstVideofilter *videofilter = GST_VIDEOFILTER (instance);
-
- GST_DEBUG_OBJECT (videofilter, "gst_videofilter_init");
-
- videofilter->inited = FALSE;
-}
diff --git a/gst/videofilter/gstvideofilter.h b/gst/videofilter/gstvideofilter.h
deleted file mode 100644
index a2f9ef04..00000000
--- a/gst/videofilter/gstvideofilter.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/* GStreamer
- * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
- *
- * 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_VIDEOFILTER_H__
-#define __GST_VIDEOFILTER_H__
-
-#include <gst/base/gstbasetransform.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GstVideofilter GstVideofilter;
-typedef struct _GstVideofilterClass GstVideofilterClass;
-
-#define GST_TYPE_VIDEOFILTER \
- (gst_videofilter_get_type())
-#define GST_VIDEOFILTER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEOFILTER,GstVideofilter))
-#define GST_VIDEOFILTER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEOFILTER,GstVideofilterClass))
-#define GST_IS_VIDEOFILTER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEOFILTER))
-#define GST_IS_VIDEOFILTER_CLASS(obj) \
- (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEOFILTER))
-
-struct _GstVideofilter {
- GstBaseTransform element;
-
- gboolean inited;
-};
-
-struct _GstVideofilterClass {
- GstBaseTransformClass parent_class;
-};
-
-GType gst_videofilter_get_type(void);
-
-G_END_DECLS
-
-#endif /* __GST_VIDEOFILTER_H__ */
diff --git a/gst/videofilter/gstvideoflip.h b/gst/videofilter/gstvideoflip.h
index aab7a0de..6a830094 100644
--- a/gst/videofilter/gstvideoflip.h
+++ b/gst/videofilter/gstvideoflip.h
@@ -20,7 +20,7 @@
#ifndef __GST_VIDEO_FLIP_H__
#define __GST_VIDEO_FLIP_H__
-#include "gstvideofilter.h"
+#include <gst/video/gstvideofilter.h>
G_BEGIN_DECLS