freeimage: Register each decoder as a separate element

This commit is contained in:
Joshua M. Doe
2010-06-10 17:20:39 -04:00
parent baa16f775f
commit be67dea4cb
3 changed files with 244 additions and 58 deletions

View File

@@ -25,11 +25,15 @@
#include "gstfreeimagedec.h"
GST_DEBUG_CATEGORY (freeimagedec_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
if (!gst_element_register (plugin, "freeimagedec", GST_RANK_PRIMARY,
GST_TYPE_FREEIMAGEDEC))
GST_DEBUG_CATEGORY_INIT (freeimagedec_debug, "freeimagedec", 0, "FreeImage image decoder");
if (!gst_freeimagedec_register_plugins (plugin))
return FALSE;
return TRUE;