1 /* GStreamer
2 *
3 * jpegformat: a plugin for JPEG Interchange Format
4 *
5 * Copyright (C) <2010> Stefan Kost <ensonic@users.sf.net>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 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 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 */
22
23 #ifdef HAVE_CONFIG_H
24 #include <config.h>
25 #endif
26
27 #include "gstjpegparse.h"
28 #include "gstjifmux.h"
29
30 static gboolean
plugin_init(GstPlugin * plugin)31 plugin_init (GstPlugin * plugin)
32 {
33 gboolean ret = FALSE;
34
35 ret |= GST_ELEMENT_REGISTER (jpegparse, plugin);
36 ret |= GST_ELEMENT_REGISTER (jifmux, plugin);
37
38 return ret;
39 }
40
41 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
42 GST_VERSION_MINOR,
43 jpegformat,
44 "JPEG interchange format plugin",
45 plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
46