diff --git a/src/gstducati.c b/src/gstducati.c
index d14472d037e61462c36492af502fa7a5cc6e45a2..3e63b726f89da0b790128d0789e5970f8c600123 100644 (file)
--- a/src/gstducati.c
+++ b/src/gstducati.c
#include "gstducatimpeg2dec.h"
#include "gstducativc1dec.h"
#include "gstducatijpegdec.h"
+
#include "gstducatih264enc.h"
#include "gstducatimpeg4enc.h"
+#include "gstducatijpegenc.h"
+
GST_DEBUG_CATEGORY (gst_ducati_debug);
{
GST_DEBUG_CATEGORY_INIT (gst_ducati_debug, "ducati", 0, "ducati");
- return gst_element_register (plugin, "ducatih264dec", GST_RANK_PRIMARY,
+ return gst_element_register (plugin, "ducatih264dec", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIH264DEC) &&
- gst_element_register (plugin, "ducatimpeg4dec", GST_RANK_PRIMARY,
+ gst_element_register (plugin, "ducatimpeg4dec", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIMPEG4DEC) &&
- gst_element_register (plugin, "ducatimpeg2dec", GST_RANK_PRIMARY,
+ gst_element_register (plugin, "ducatimpeg2dec", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIMPEG2DEC) &&
- gst_element_register (plugin, "ducativc1dec", GST_RANK_PRIMARY,
+ gst_element_register (plugin, "ducativc1dec", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIVC1DEC) &&
gst_element_register (plugin, "ducatijpegdec", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIJPEGDEC) &&
gst_element_register (plugin, "ducatih264enc", GST_RANK_PRIMARY + 1,
GST_TYPE_DUCATIH264ENC) &&
gst_element_register (plugin, "ducatimpeg4enc", GST_RANK_PRIMARY + 1,
- GST_TYPE_DUCATIMPEG4ENC);
+ GST_TYPE_DUCATIMPEG4ENC) &&
+ gst_element_register (plugin, "ducatijpegenc", GST_RANK_PRIMARY + 1,
+ GST_TYPE_DUCATIJPEGENC);
}
/* PACKAGE: this is usually set by autotools depending on some _INIT macro
# define PACKAGE "ducati"
#endif
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "ducati",
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, ducati,
"Hardware accelerated codecs for OMAP4",
plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")