2002-11-18 22:29:38 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
*
|
|
|
|
* Filter:
|
|
|
|
* Copyright (C) 2000 Donald A. Graft
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-04 00:07:18 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2002-11-18 22:29:38 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2004-01-12 04:15:46 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
2003-11-02 00:21:14 +00:00
|
|
|
#include <config.h>
|
2004-01-12 04:15:46 +00:00
|
|
|
#endif
|
2003-11-02 00:21:14 +00:00
|
|
|
|
2002-11-18 22:29:38 +00:00
|
|
|
#include <string.h>
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
2004-07-16 10:56:31 +00:00
|
|
|
#include "gstpngdec.h"
|
2002-11-22 22:25:03 +00:00
|
|
|
#include "gstpngenc.h"
|
2002-11-18 22:29:38 +00:00
|
|
|
|
|
|
|
static gboolean
|
2003-11-02 00:21:14 +00:00
|
|
|
plugin_init (GstPlugin * plugin)
|
2002-11-18 22:29:38 +00:00
|
|
|
{
|
2021-02-12 09:33:50 +00:00
|
|
|
gboolean ret = FALSE;
|
2004-07-16 10:56:31 +00:00
|
|
|
|
2021-02-12 09:33:50 +00:00
|
|
|
ret |= GST_ELEMENT_REGISTER (pngdec, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (pngenc, plugin);
|
2002-11-18 22:29:38 +00:00
|
|
|
|
2021-02-12 09:33:50 +00:00
|
|
|
return ret;
|
2002-11-18 22:29:38 +00:00
|
|
|
}
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2012-04-05 15:36:38 +00:00
|
|
|
png,
|
2005-11-14 02:13:35 +00:00
|
|
|
"PNG plugin library", plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME,
|
|
|
|
GST_PACKAGE_ORIGIN)
|