diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-05 11:01:03 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-05 11:01:03 +0000 |
commit | f1b647a6f59684ba8ceb66c59c40765656ec63b8 (patch) | |
tree | 315b1f8a408e40d65dada8d26e488950cac987c5 /ext/xvid/gstxvid.c | |
parent | 672e4390995fc87f346d79610f34adb6ce7f19f4 (diff) | |
download | gst-plugins-bad-f1b647a6f59684ba8ceb66c59c40765656ec63b8.tar.gz gst-plugins-bad-f1b647a6f59684ba8ceb66c59c40765656ec63b8.tar.bz2 gst-plugins-bad-f1b647a6f59684ba8ceb66c59c40765656ec63b8.zip |
Remove obsolete external function call and do all element registrations in plugin_init()
Original commit message from CVS:
Remove obsolete external function call and do all element registrations in plugin_init()
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 ( |