1 /*
2 * gstmpegtssection.c -
3 * Copyright (C) 2013 Edward Hervey
4 * Copyright (C) 2011, Hewlett-Packard Development Company, L.P.
5 * Copyright (C) 2007 Alessandro Decina
6 * 2010 Edward Hervey
7 * Author: Youness Alaoui <youness.alaoui@collabora.co.uk>, Collabora Ltd.
8 * Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>, Collabora Ltd.
9 * Author: Edward Hervey <bilboed@bilboed.com>, Collabora Ltd.
10 *
11 * Authors:
12 * Alessandro Decina <alessandro@nnva.org>
13 * Zaheer Abbas Merali <zaheerabbas at merali dot org>
14 * Edward Hervey <edward@collabora.com>
15 *
16 * This library is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU Library General Public
18 * License as published by the Free Software Foundation; either
19 * version 2 of the License, or (at your option) any later version.
20 *
21 * This library is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 * Library General Public License for more details.
25 *
26 * You should have received a copy of the GNU Library General Public
27 * License along with this library; if not, write to the
28 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
29 * Boston, MA 02110-1301, USA.
30 */
31 #ifdef HAVE_CONFIG_H
32 #include "config.h"
33 #endif
34
35 #include "mpegts.h"
36 #include "gstmpegts-private.h"
37
38 /**
39 * SECTION:gstmpegts
40 * @title: Initialization
41 * @short_description: Initialization of the MPEG-TS helper library
42 * @include: gst/mpegts/mpegts.h
43 *
44 * Before any usage of this library, the initialization function should be called.
45 */
46
47 GST_DEBUG_CATEGORY (mpegts_debug);
48
49 /**
50 * gst_mpegts_initialize:
51 *
52 * Initializes the MPEG-TS helper library. Must be called before any
53 * usage.
54 */
55 void
gst_mpegts_initialize(void)56 gst_mpegts_initialize (void)
57 {
58 GST_DEBUG_CATEGORY_INIT (mpegts_debug, "mpegts", 0, "MPEG-TS helper library");
59
60 __initialize_sections ();
61 __initialize_descriptors ();
62 }
63