Commit 2c786edb authored by Jan Schmidt's avatar Jan Schmidt

pbtypes: Add a stub plugin that owns the plugins-base dynamic types

https://bugzilla.gnome.org/show_bug.cgi?id=750079
parent 14ce96a4
...@@ -875,12 +875,13 @@ gst/adder/Makefile ...@@ -875,12 +875,13 @@ gst/adder/Makefile
gst/app/Makefile gst/app/Makefile
gst/audioconvert/Makefile gst/audioconvert/Makefile
gst/audiorate/Makefile gst/audiorate/Makefile
gst/audioresample/Makefile
gst/audiotestsrc/Makefile gst/audiotestsrc/Makefile
gst/encoding/Makefile gst/encoding/Makefile
gst/videoconvert/Makefile gst/videoconvert/Makefile
gst/gio/Makefile gst/gio/Makefile
gst/pbtypes/Makefile
gst/playback/Makefile gst/playback/Makefile
gst/audioresample/Makefile
gst/subparse/Makefile gst/subparse/Makefile
gst/tcp/Makefile gst/tcp/Makefile
gst/typefind/Makefile gst/typefind/Makefile
......
SUBDIRS = $(GST_PLUGINS_SELECTED) SUBDIRS = $(GST_PLUGINS_SELECTED) pbtypes
DIST_SUBDIRS = $(GST_PLUGINS_ALL) DIST_SUBDIRS = $(GST_PLUGINS_ALL) pbtypes
include $(top_srcdir)/common/parallel-subdirs.mak include $(top_srcdir)/common/parallel-subdirs.mak
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)
/* GStreamer
* Copyright (C) 2015 Jan Schmidt <jan@centricular.com>
*
* 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 <gst/gst.h>
#include <gst/video/video.h>
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)
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