• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * GStreamer
3  * Copyright (C) 2006 Stefan Kost <ensonic@users.sf.net>
4  * Copyright (c) 2020 Anthony Violo <anthony.violo@ubicast.eu>
5  * Copyright (c) 2020 Thibault Saunier <tsaunier@igalia.com>
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., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22 
23 /**
24  * SECTION:element-qroverlay
25  *
26  * Element to set random data on a qroverlay.
27  *
28  * ## Example launch line
29  *
30  * ``` bash
31  * gst-launch -v -m videotestsrc ! qroverlay ! fakesink silent=TRUE
32  * ```
33  *
34  * Since: 1.20
35  */
36 
37 #ifdef HAVE_CONFIG_H
38 #include "config.h"
39 #endif
40 
41 #include <gst/gst.h>
42 
43 #include "gstqroverlayelements.h"
44 
45 static gboolean
plugin_init(GstPlugin * plugin)46 plugin_init (GstPlugin * plugin)
47 {
48   gboolean ret = FALSE;
49 
50   ret |= GST_ELEMENT_REGISTER (debugqroverlay, plugin);
51   ret |= GST_ELEMENT_REGISTER (qroverlay, plugin);
52 
53   return ret;
54 }
55 
56 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
57     GST_VERSION_MINOR,
58     qroverlay,
59     "libqrencode qroverlay plugin",
60     plugin_init, VERSION, "LGPL", PACKAGE_NAME, GST_PACKAGE_ORIGIN)
61