diff options
Diffstat (limited to 'ext/xvid/gstxvid.c')
-rw-r--r-- | ext/xvid/gstxvid.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/xvid/gstxvid.c b/ext/xvid/gstxvid.c index 74733ac3..44f40b85 100644 --- a/ext/xvid/gstxvid.c +++ b/ext/xvid/gstxvid.c @@ -87,8 +87,10 @@ gst_xvid_error (int errorcode) static gboolean plugin_init (GstPlugin *plugin) { - return (gst_xviddec_plugin_init(plugin) && - gst_xvidenc_plugin_init(plugin)); + return (gst_element_register (plugin, "xvidenc", + GST_RANK_NONE, GST_TYPE_XVIDENC) && + gst_element_register (plugin, "xviddec", + GST_RANK_NONE, GST_TYPE_XVIDDEC)); } GST_PLUGIN_DEFINE ( |