• 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 GST_DEBUG_CATEGORY (pango_debug);
34 #define GST_CAT_DEFAULT pango_debug
35 
36 void
pango_element_init(GstPlugin * plugin)37 pango_element_init (GstPlugin * plugin)
38 {
39   static gsize res = FALSE;
40   if (g_once_init_enter (&res)) {
41     /*texttestsrc_plugin_init(module, plugin); */
42     GST_DEBUG_CATEGORY_INIT (pango_debug, "pango", 0, "Pango elements");
43     g_once_init_leave (&res, TRUE);
44   }
45 }
46