summaryrefslogtreecommitdiff
path: root/gst/rtjpeg/gstrtjpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtjpeg/gstrtjpeg.c')
-rw-r--r--gst/rtjpeg/gstrtjpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtjpeg/gstrtjpeg.c b/gst/rtjpeg/gstrtjpeg.c
index 1a4a43633..649658f8d 100644
--- a/gst/rtjpeg/gstrtjpeg.c
+++ b/gst/rtjpeg/gstrtjpeg.c
@@ -40,13 +40,13 @@ plugin_init (GModule *module, GstPlugin *plugin)
conversion utilities");
/* create an elementfactory for the rtjpegenc element */
- enc = gst_elementfactory_new("rtjpegenc",GST_TYPE_RTJPEGENC,
+ enc = gst_element_factory_new("rtjpegenc",GST_TYPE_RTJPEGENC,
&gst_rtjpegenc_details);
g_return_val_if_fail(enc != NULL, FALSE);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (enc));
/* create an elementfactory for the rtjpegdec element */
- dec = gst_elementfactory_new("rtjpegdec",GST_TYPE_RTJPEGDEC,
+ dec = gst_element_factory_new("rtjpegdec",GST_TYPE_RTJPEGDEC,
&gst_rtjpegdec_details);
g_return_val_if_fail(dec != NULL, FALSE);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (dec));