diff options
-rwxr-xr-x | tools/gst-element-maker | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/gst-element-maker b/tools/gst-element-maker index 4255aa8c2..bd4cc9870 100755 --- a/tools/gst-element-maker +++ b/tools/gst-element-maker @@ -239,10 +239,8 @@ static gboolean plugin_init (GstPlugin * plugin) { - gst_element_register (plugin, "replace", GST_RANK_NONE, - gst_replace_get_type ()); - - return TRUE; + return gst_element_register (plugin, "replace", GST_RANK_NONE, + GST_TYPE_REPLACE); } #ifndef VERSION |