diff options
Diffstat (limited to 'ext/openjpeg/gstopenjpeg.c')
-rw-r--r-- | ext/openjpeg/gstopenjpeg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/openjpeg/gstopenjpeg.c b/ext/openjpeg/gstopenjpeg.c index 8e699e050..04a970b17 100644 --- a/ext/openjpeg/gstopenjpeg.c +++ b/ext/openjpeg/gstopenjpeg.c @@ -30,14 +30,12 @@ static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "openjpegdec", GST_RANK_MARGINAL, + if (!gst_element_register (plugin, "openjpegdec", GST_RANK_PRIMARY, GST_TYPE_OPENJPEG_DEC)) return FALSE; -#if 0 - if (!gst_element_register (plugin, "openjpegenc", GST_RANK_MARGINAL, + if (!gst_element_register (plugin, "openjpegenc", GST_RANK_PRIMARY, GST_TYPE_OPENJPEG_ENC)) return FALSE; -#endif return TRUE; } |