X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fgst-plugin-ducati.git;a=blobdiff_plain;f=src%2Fgstducati.c;h=5cb800b5c9c3ef98cad4e1af95ceef7c6a84fc51;hp=bbe9a5c5fde9f2408a44bcce449cbe4d1f625699;hb=17bedd4de5fce07d849d542601cdc7d6d89f7143;hpb=f539d2d960b30c9a756847988362540e0f8a66b8;ds=sidebyside diff --git a/src/gstducati.c b/src/gstducati.c index bbe9a5c..5cb800b 100644 --- a/src/gstducati.c +++ b/src/gstducati.c @@ -25,6 +25,8 @@ #include "gstducatih264dec.h" #include "gstducatimpeg4dec.h" +#include "gstducativc1dec.h" +#include "gstducativp6dec.h" GST_DEBUG_CATEGORY (gst_ducati_debug); @@ -33,8 +35,13 @@ plugin_init (GstPlugin * plugin) { GST_DEBUG_CATEGORY_INIT (gst_ducati_debug, "ducati", 0, "ducati"); + /* TODO .. find some way to reasonably detect if the corresponding + * codecs are actually available.. + */ return gst_element_register (plugin, "ducatih264dec", GST_RANK_PRIMARY, GST_TYPE_DUCATIH264DEC) && - gst_element_register (plugin, "ducatimpeg4dec", GST_RANK_PRIMARY, GST_TYPE_DUCATIMPEG4DEC); + gst_element_register (plugin, "ducatimpeg4dec", GST_RANK_PRIMARY, GST_TYPE_DUCATIMPEG4DEC) && + gst_element_register (plugin, "ducativc1dec", GST_RANK_PRIMARY, GST_TYPE_DUCATIVC1DEC) && + gst_element_register (plugin, "ducativp6dec", GST_RANK_PRIMARY, GST_TYPE_DUCATIVP6DEC); } void *