diff --git a/configure.ac b/configure.ac index f1b51f9be7..de894a62b0 100644 --- a/configure.ac +++ b/configure.ac @@ -875,12 +875,13 @@ gst/adder/Makefile gst/app/Makefile gst/audioconvert/Makefile gst/audiorate/Makefile +gst/audioresample/Makefile gst/audiotestsrc/Makefile gst/encoding/Makefile gst/videoconvert/Makefile gst/gio/Makefile +gst/pbtypes/Makefile gst/playback/Makefile -gst/audioresample/Makefile gst/subparse/Makefile gst/tcp/Makefile gst/typefind/Makefile diff --git a/gst/Makefile.am b/gst/Makefile.am index f25a56d9cb..3ed7c6f0f8 100644 --- a/gst/Makefile.am +++ b/gst/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = $(GST_PLUGINS_SELECTED) -DIST_SUBDIRS = $(GST_PLUGINS_ALL) +SUBDIRS = $(GST_PLUGINS_SELECTED) pbtypes +DIST_SUBDIRS = $(GST_PLUGINS_ALL) pbtypes include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/gst/pbtypes/Makefile.am b/gst/pbtypes/Makefile.am new file mode 100644 index 0000000000..bc735eb725 --- /dev/null +++ b/gst/pbtypes/Makefile.am @@ -0,0 +1,12 @@ +plugin_LTLIBRARIES = libgstpbtypes.la + +libgstpbtypes_la_SOURCES = gstpbtypes.c +libgstpbtypes_la_CFLAGS = \ + $(GST_PLUGINS_BASE_CFLAGS) \ + $(GST_CFLAGS) +libgstpbtypes_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +libgstpbtypes_la_LIBADD = \ + $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \ + $(GST_BASE_LIBS) $(GST_LIBS) + +libgstpbtypes_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS) diff --git a/gst/pbtypes/gstpbtypes.c b/gst/pbtypes/gstpbtypes.c new file mode 100644 index 0000000000..655051697b --- /dev/null +++ b/gst/pbtypes/gstpbtypes.c @@ -0,0 +1,41 @@ +/* GStreamer + * Copyright (C) 2015 Jan Schmidt + * + * gstpbtypes: Plugin which registers extra caps types from plugins-base libs + * + * 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., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include + +static gboolean +plugin_init (GstPlugin * plugin) +{ + if (!gst_dynamic_type_register (plugin, GST_TYPE_VIDEO_MULTIVIEW_FLAGSET)) + return FALSE; + return TRUE; +} + +GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, + GST_VERSION_MINOR, + pbtypes, + "gst-plugins-base dynamic types", + plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)