• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  * Copyright (C) 2011 David Schleef <ds@schleef.org>
3  * Copyright (C) 2014 Sebastian Dröge <sebastian@centricular.com>
4  * Copyright (C) 2015 Florian Langlois <florian.langlois@fr.thalesgroup.com>
5  * Copyright (C) 2020 Sohonet <dev@sohonet.com>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
20  * Boston, MA 02110-1335, USA.
21  */
22 
23 #ifdef HAVE_CONFIG_H
24 #include "config.h"
25 #endif
26 
27 #include <gst/gst.h>
28 
29 #include "gstdecklinkaudiosink.h"
30 #include "gstdecklinkvideosink.h"
31 #include "gstdecklinkaudiosrc.h"
32 #include "gstdecklinkvideosrc.h"
33 #include "gstdecklinkdeviceprovider.h"
34 
35 static gboolean
plugin_init(GstPlugin * plugin)36 plugin_init (GstPlugin * plugin)
37 {
38   GST_ELEMENT_REGISTER (decklinkaudiosink, plugin);
39   GST_ELEMENT_REGISTER (decklinkvideosink, plugin);
40   GST_ELEMENT_REGISTER (decklinkaudiosrc, plugin);
41   GST_ELEMENT_REGISTER (decklinkvideosrc, plugin);
42 
43   GST_DEVICE_PROVIDER_REGISTER (decklinkdeviceprovider, plugin);
44 
45   return TRUE;
46 }
47 
48 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
49     GST_VERSION_MINOR,
50     decklink,
51     "Blackmagic Decklink plugin",
52     plugin_init, VERSION, "LGPL", PACKAGE_NAME, GST_PACKAGE_ORIGIN)
53