1 /*
2 * GStreamer
3 * Copyright (C) 2016 Vivia Nikolaidou <vivia@toolsonair.com>
4 *
5 * plugin.c
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 St, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 */
22
23 #ifdef HAVE_CONFIG_H
24 #include "config.h"
25 #endif
26
27 #include "gsttimecodestamper.h"
28 #include "gstavwait.h"
29
30 static gboolean
plugin_init(GstPlugin * plugin)31 plugin_init (GstPlugin * plugin)
32 {
33 gboolean ret;
34
35 ret = gst_element_register (plugin, "timecodestamper", GST_RANK_NONE,
36 GST_TYPE_TIME_CODE_STAMPER);
37
38 ret &= gst_element_register (plugin, "avwait", GST_RANK_NONE,
39 GST_TYPE_AVWAIT);
40
41 return ret;
42 }
43
44 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
45 GST_VERSION_MINOR,
46 timecode,
47 "Timecode-related elements",
48 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
49