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
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
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>
|
|
|
|
|
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
|
|
|
{
|
2003-11-02 00:21:14 +00:00
|
|
|
if (!gst_element_register (plugin, "pngenc", GST_RANK_NONE, GST_TYPE_PNGENC))
|
|
|
|
return FALSE;
|
2002-11-18 22:29:38 +00:00
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
|
|
|
"png",
|
|
|
|
"PNG plugin library", plugin_init, VERSION, "LGPL", GST_PACKAGE, GST_ORIGIN)
|