• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3  * Copyright (C) <2003> David Schleef <ds@schleef.org>
4  * Copyright (C) <2006> Julien Moutte <julien@moutte.net>
5  * Copyright (C) <2006> Zeeshan Ali <zeeshan.ali@nokia.com>
6  * Copyright (C) <2006-2008> Tim-Philipp Müller <tim centricular net>
7  * Copyright (C) <2009> Young-Ho Cha <ganadist@gmail.com>
8  * Copyright (C) 2020 Huawei Technologies Co., Ltd.
9  *   @Author: Stéphane Cerveau <scerveau@collabora.com>
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19  * Library General Public License for more details.
20  *
21  * You should have received a copy of the GNU Library General Public
22  * License along with this library; if not, write to the
23  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
24  * Boston, MA 02110-1301, USA.
25  */
26 
27 #ifdef HAVE_CONFIG_H
28 #include <config.h>
29 #endif
30 
31 #include "gstpangoelements.h"
32 
33 static gboolean
plugin_init(GstPlugin * plugin)34 plugin_init (GstPlugin * plugin)
35 {
36   gboolean ret = FALSE;
37 
38   ret |= GST_ELEMENT_REGISTER (textoverlay, plugin);
39   ret |= GST_ELEMENT_REGISTER (timeoverlay, plugin);
40   ret |= GST_ELEMENT_REGISTER (clockoverlay, plugin);
41   ret |= GST_ELEMENT_REGISTER (textrender, plugin);
42 
43   return ret;
44 }
45 
46 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR,
47     pango, "Pango-based text rendering and overlay", plugin_init,
48     VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
49