summaryrefslogtreecommitdiffstats
path: root/gst/mpeg2sub
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpeg2sub')
-rw-r--r--gst/mpeg2sub/gstmpeg2subt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpeg2sub/gstmpeg2subt.c b/gst/mpeg2sub/gstmpeg2subt.c
index f111e5aa..29cad3d9 100644
--- a/gst/mpeg2sub/gstmpeg2subt.c
+++ b/gst/mpeg2sub/gstmpeg2subt.c
@@ -426,7 +426,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
GstElementFactory *factory;
/* create an elementfactory for the mpeg2subt element */
- factory = gst_elementfactory_new("mpeg2subt",GST_TYPE_MPEG2SUBT,
+ factory = gst_element_factory_new("mpeg2subt",GST_TYPE_MPEG2SUBT,
&mpeg2subt_details);
g_return_val_if_fail(factory != NULL, FALSE);