summaryrefslogtreecommitdiffstats
path: root/ext/libmng/gstmng.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libmng/gstmng.c')
-rw-r--r--ext/libmng/gstmng.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/libmng/gstmng.c b/ext/libmng/gstmng.c
index e57a2190..d06e4e0a 100644
--- a/ext/libmng/gstmng.c
+++ b/ext/libmng/gstmng.c
@@ -26,14 +26,11 @@
static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_library_load ("gstbytestream"))
- return FALSE;
-
if (!gst_element_register (plugin, "mngdec", GST_RANK_PRIMARY,
- GST_TYPE_MNGDEC))
+ GST_TYPE_MNG_DEC))
return FALSE;
- if (!gst_element_register (plugin, "mngenc", GST_RANK_NONE, GST_TYPE_MNGENC))
+ if (!gst_element_register (plugin, "mngenc", GST_RANK_NONE, GST_TYPE_MNG_ENC))
return FALSE;
return TRUE;