Commit f4532d91 authored by Edward Hervey's avatar Edward Hervey

remove postproc element

libpostproc is gone from upstream libav.
parent 0e40eb11
......@@ -123,9 +123,6 @@ AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
AC_MSG_NOTICE(Using GStreamer Core Plugins in $GST_PLUGINS_DIR)
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
dnl orc is required for cpu detection for libpostproc
ORC_CHECK([$ORC_REQ])
dnl *** set variables based on configure arguments ***
dnl set location of plugin directory
......@@ -221,9 +218,6 @@ AC_ARG_WITH(system-libav,
if test "x$with_system_libav" = "xyes"; then
PKG_CHECK_MODULES(LIBAV, libavformat libavcodec libavutil)
if test "x$enable_lgpl" != "xyes"; then
PKG_CHECK_MODULES(POSTPROC, libpostproc libavcodec libavutil)
fi
PKG_CHECK_MODULES(SWSCALE, libswscale libavutil)
saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $LIBAV_CFLAGS"
......@@ -275,14 +269,7 @@ else
LIBAV_LIBS="\$(top_builddir)/gst-libs/ext/libav/libavformat/libavformat.a \
\$(top_builddir)/gst-libs/ext/libav/libavcodec/libavcodec.a \
\$(top_builddir)/gst-libs/ext/libav/libavutil/libavutil.a"
dnl
POSTPROC_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav/ \
-Wno-deprecated-declarations"
dnl libgstpostproc.la: libs to statically link to
POSTPROC_LIBS="\$(top_builddir)/gst-libs/ext/libav/libpostproc/libpostproc.a \
\$(top_builddir)/gst-libs/ext/libav/libavutil/libavutil.a"
dnl
SWSCALE_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav \
-Wno-deprecated-declarations"
......@@ -311,8 +298,7 @@ else
--enable-optimizations"
if test "x$enable_lgpl" != "xyes"; then
emblibav_configure_args="$emblibav_configure_args --enable-postproc \
--enable-gpl"
emblibav_configure_args="$emblibav_configure_args --enable-gpl"
fi
# if we are cross-compiling, tell libav so
......@@ -385,8 +371,6 @@ fi
AC_SUBST(LIBAV_CFLAGS)
AC_SUBST(LIBAV_LIBS)
AC_SUBST(LIBAV_SUBDIRS)
AC_SUBST(POSTPROC_CFLAGS)
AC_SUBST(POSTPROC_LIBS)
AC_SUBST(SWSCALE_CFLAGS)
AC_SUBST(SWSCALE_LIBS)
AC_SUBST(WIN32_LIBS)
......@@ -403,7 +387,6 @@ common/m4/Makefile
gst-libav.spec
ext/Makefile
ext/ffmpeg/Makefile
ext/libpostproc/Makefile
ext/libswscale/Makefile
gst-libs/Makefile
gst-libs/ext/Makefile
......
SUBDIRS = ffmpeg libswscale
if !GST_LIBAV_ENABLE_LGPL
SUBDIRS += libpostproc
endif
plugin_LTLIBRARIES = libgstpostproc.la
libgstpostproc_la_SOURCES = gstpostproc.c
libgstpostproc_la_CFLAGS = $(POSTPROC_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(ORC_CFLAGS)
libgstpostproc_la_LIBADD = -lgstvideo-@GST_API_VERSION@ \
$(POSTPROC_LIBS) \
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(ORC_LIBS)
libgstpostproc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DARWIN_LDFLAGS)
libgstpostproc_la_LIBTOOLFLAGS = --tag=disable-static
This diff is collapsed.
test-registry.*
elements/avdec_adpcm
elements/avdemux_ape
elements/postproc
.dirstamp
......@@ -16,16 +16,11 @@ CLEANFILES = core.* test-registry.xml
clean-local: clean-local-check
if !GST_LIBAV_ENABLE_LGPL
postproc_tests = elements/postproc
endif
check_PROGRAMS = \
generic/plugin-test \
generic/libavcodec-locking \
elements/avdec_adpcm \
elements/avdemux_ape \
$(postproc_tests)
elements/avdemux_ape
VALGRIND_TO_FIX = \
generic/plugin-test \
......
/* GStreamer unit tests for postproc
* Copyright (C) 2011 Collabora Ltd.
*
* 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.
*/
#include <gst/check/gstcheck.h>
#include <gst/gst.h>
GST_START_TEST (test_postproc_default)
{
GstElement *pp;
pp = gst_element_factory_make ("postproc_default", NULL);
fail_unless (pp != NULL, "Failed to create postproc_default!");
gst_object_unref (pp);
}
GST_END_TEST;
static Suite *
postproc_suite (void)
{
Suite *s = suite_create ("postproc");
TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain);
tcase_add_test (tc_chain, test_postproc_default);
return s;
}
GST_CHECK_MAIN (postproc)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment