1 /*
2 * Copyright (C) <2007> Julien Moutte <julien@moutte.net>
3 * Copyright (c) 2008,2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 * Copyright (c) 2008-2017 Collabora Ltd
5 * @author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
6 * @author: Vincent Penquerc'h <vincent.penquerch@collabora.com>
7 * Copyright (C) 2020 Huawei Technologies Co., Ltd.
8 * @Author: Stéphane Cerveau <stephane.cerveau@collabora.com>
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Library General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Library General Public License for more details.
19 *
20 * You should have received a copy of the GNU Library General Public
21 * License along with this library; if not, write to the Free
22 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
23 */
24
25
26 #ifdef HAVE_CONFIG_H
27 #include "config.h"
28 #endif
29
30 #include "gstflvelements.h"
31
32 GST_DEBUG_CATEGORY (flvdemux_debug);
33 #define GST_CAT_DEFAULT flvdemux_debug
34
35 void
flv_element_init(GstPlugin * plugin)36 flv_element_init (GstPlugin * plugin)
37 {
38 static gsize res = FALSE;
39 if (g_once_init_enter (&res)) {
40 GST_DEBUG_CATEGORY_INIT (flvdemux_debug, "flvdemux", 0, "FLV demuxer");
41 g_once_init_leave (&res, TRUE);
42 }
43 }
44